{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"To create a team, the authenticated user must be a member or owner of `{org}`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see \"[Setting team creation permissions](https://docs.github.com/articles/setting-team-creation-permissions-in-your-organization).\"\n\nWhen you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see \"[About teams](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/about-teams)\".","properties":{"path":{"type":"object","properties":{"org":{"type":"string","description":"The organization name. The name is not case sensitive."}},"required":["org"],"additionalProperties":false},"body":{"type":"object","properties":{"name":{"type":"string","description":"The name of the team."},"description":{"type":"string","description":"The description of the team."},"maintainers":{"type":"array","description":"List GitHub usernames for organization members who will become team maintainers.","items":{"type":"string"}},"repo_names":{"type":"array","description":"The full name (e.g., \"organization-name/repository-name\") of repositories to add the team to.","items":{"type":"string"}},"privacy":{"type":"string","description":"The level of privacy this team should have. The options are:  \n**For a non-nested team:**  \n * `secret` - only visible to organization owners and members of this team.  \n * `closed` - visible to all members of this organization.  \nDefault: `secret`  \n**For a parent or child team:**  \n * `closed` - visible to all members of this organization.  \nDefault for child team: `closed`","enum":["secret","closed"]},"notification_setting":{"type":"string","description":"The notification setting the team has chosen. The options are:  \n * `notifications_enabled` - team members receive notifications when the team is @mentioned.  \n * `notifications_disabled` - no one receives notifications.  \nDefault: `notifications_enabled`","enum":["notifications_enabled","notifications_disabled"]},"permission":{"type":"string","description":"**Closing down notice**. The permission that new repositories will be added to the team with when none is specified.","enum":["pull","push"],"default":"pull"},"parent_team_id":{"type":"integer","description":"The ID of a team to set as the parent team."},"parent_team_slug":{"type":"string","description":"The slug of a team to set as the parent team. Ignored when `parent_team_id` is also provided."}},"required":["name"],"examples":[{"name":"Justice League","description":"A great team","permission":"push","notification_setting":"notifications_enabled","privacy":"closed"}]}},"required":["path","body"],"additionalProperties":false},"name":"Create a team","id":"github.teams.create","example":{"path":{"org":"example"},"body":{"name":"Justice League","description":"A great team","permission":"push","notification_setting":"notifications_enabled","privacy":"closed"}},"maxRequests":1,"summary":false}}