{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Creates a team in the Enterprise plan associated with a private OAuth app. The app uses the authenticated user's permissions, and that user becomes the team owner. The request is subject to the same team-creation controls and permissions as team creation in Figma.","properties":{"body":{"$ref":"#/definitions/CreateTeamRequest"}},"required":["body"],"additionalProperties":false,"definitions":{"CreateTeamRequest":{"type":"object","description":"Properties for the team to create.","properties":{"name":{"type":"string","description":"The name of the team."},"description":{"type":["string","null"],"description":"A description of the team."},"sharing_audience_control":{"type":"string","description":"The audience that can discover and join the team. Workspace audiences require a workspace_id.","enum":["org_view","org_edit","invite_only","workspace_view","workspace_edit"]},"org_discoverability":{"type":["string","null"],"description":"Whether organization members can discover an invite-only team. Required for invite_only and not accepted for other audiences.","enum":["hidden","discoverable",null]},"workspace_id":{"type":["string","null"],"description":"The workspace in which to create the team. Required for workspace audiences."}},"required":["name","sharing_audience_control"],"additionalProperties":false}}},"name":"Create a team","id":"figma.postteam","example":{"body":{"name":"example","sharing_audience_control":"org_view"}},"maxRequests":1,"summary":false}}