{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Temporarily restricts which type of GitHub user can interact with your public repositories. Setting the interaction limit at the user level will overwrite any interaction limits that are set for individual repositories owned by the user.","properties":{"body":{"$ref":"#/definitions/interaction-limit","examples":[{"limit":"collaborators_only","expiry":"one_month"}]}},"required":["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 your public repositories","id":"github.interactions.set-restrictions-for-authenticated-user","example":{"body":{"limit":"collaborators_only"}},"maxRequests":1,"summary":false}}