{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Temporarily restricts interactions to a certain type of GitHub user in any public repository in the given organization. You must be an organization owner to set these restrictions. Setting the interaction limit at the organization level will overwrite any interaction limits that are set for individual repositories owned by the organization.","properties":{"path":{"type":"object","properties":{"org":{"type":"string","description":"The organization name. The name is not case sensitive."}},"required":["org"],"additionalProperties":false},"body":{"$ref":"#/definitions/interaction-limit","examples":[{"limit":"collaborators_only","expiry":"one_month"}]}},"required":["path","body"],"additionalProperties":false,"definitions":{"interaction-limit":{"title":"Interaction Restrictions","description":"Limit interactions to a specific type of user for a specified duration","type":"object","properties":{"limit":{"$ref":"#/definitions/interaction-group"},"expiry":{"$ref":"#/definitions/interaction-expiry"}},"required":["limit"]},"interaction-group":{"type":"string","description":"The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit is in effect.","enum":["existing_users","contributors_only","collaborators_only"],"examples":["collaborators_only"]},"interaction-expiry":{"type":"string","description":"The duration of the interaction restriction. Default: `one_day`.","enum":["one_day","three_days","one_week","one_month","six_months"],"examples":["one_month"]}}},"name":"Set interaction restrictions for an organization","id":"github.interactions.set-restrictions-for-org","example":{"path":{"org":"example"},"body":{"limit":"collaborators_only"}},"maxRequests":1,"summary":false}}