{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified teams push access for this branch. You can also give push access to child teams.","properties":{"path":{"type":"object","properties":{"owner":{"type":"string","description":"The account owner of the repository. The name is not case sensitive."},"repo":{"type":"string","description":"The name of the repository without the `.git` extension. The name is not case sensitive."},"branch":{"type":"string","description":"The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/graphql)."}},"required":["owner","repo","branch"],"additionalProperties":false},"body":{"oneOf":[{"type":"object","properties":{"teams":{"type":"array","description":"The slug values for teams","items":{"type":"string"}}},"required":["teams"],"examples":[{"teams":["my-team"]}]},{"type":"array","description":"The slug values for teams","items":{"type":"string"}}],"examples":[{"teams":["justice-league"]}]}},"required":["path"],"additionalProperties":false},"name":"Add team access restrictions","id":"github.repos.add-team-access-restrictions","example":{"path":{"owner":"octocat","repo":"hello-world","branch":"example"}},"maxRequests":1,"summary":false}}