naftiko: 1.0.0-alpha2 info: label: GitHub Teams API — Legacy description: 'GitHub Teams API — Legacy. 33 operations. Lead operation: GitHub Get Team (legacy). Self-contained Naftiko capability covering one Github business surface.' tags: - Github - Legacy created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GITHUB_API_KEY: GITHUB_API_KEY capability: consumes: - type: http namespace: teams-legacy baseUri: '' description: GitHub Teams API — Legacy business capability. Self-contained, no shared references. resources: - name: teams-team_id path: /teams/{team_id} operations: - name: getteamlegacy method: GET description: GitHub Get Team (legacy) outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateteamlegacy method: PATCH description: GitHub Update Team (legacy) outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deleteteamlegacy method: DELETE description: GitHub Delete Team (legacy) outputRawFormat: json outputParameters: - name: result type: object value: $. - name: teams-team_id-discussions path: /teams/{team_id}/discussions operations: - name: listdiscussionslegacy method: GET description: GitHub List Discussions (legacy) outputRawFormat: json outputParameters: - name: result type: object value: $. - name: creatediscussionlegacy method: POST description: GitHub Create Discussion (legacy) outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: teams-team_id-discussions-discussion_number path: /teams/{team_id}/discussions/{discussion_number} operations: - name: getdiscussionlegacy method: GET description: GitHub Get Discussion (legacy) outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updatediscussionlegacy method: PATCH description: GitHub Update Discussion (legacy) outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: deletediscussionlegacy method: DELETE description: GitHub Delete Discussion (legacy) outputRawFormat: json outputParameters: - name: result type: object value: $. - name: teams-team_id-discussions-discussion_number-comments path: /teams/{team_id}/discussions/{discussion_number}/comments operations: - name: listdiscussioncommentslegacy method: GET description: GitHub List Discussion Comments (legacy) outputRawFormat: json outputParameters: - name: result type: object value: $. - name: creatediscussioncommentlegacy method: POST description: GitHub Create Discussion Comment (legacy) outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: teams-team_id-discussions-discussion_number-comments-comment_number path: /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number} operations: - name: getdiscussioncommentlegacy method: GET description: GitHub Get Discussion Comment (legacy) outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updatediscussioncommentlegacy method: PATCH description: GitHub Update Discussion Comment (legacy) outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deletediscussioncommentlegacy method: DELETE description: GitHub Delete Discussion Comment (legacy) outputRawFormat: json outputParameters: - name: result type: object value: $. - name: teams-team_id-discussions-discussion_number-comments-comment_number-reactions path: /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions operations: - name: listreactionsforteamdiscussioncommentlegacy method: GET description: GitHub List Reactions for Team Discussion Comment (legacy) outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: content in: query type: string description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.9/rest/reactions/reactions#about-reactions). Omit this parameter to list all reacti - name: createreactionforteamdiscussioncommentlegacy method: POST description: GitHub Create Reaction for Team Discussion Comment (legacy) outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: teams-team_id-discussions-discussion_number-reactions path: /teams/{team_id}/discussions/{discussion_number}/reactions operations: - name: listreactionsforteamdiscussionlegacy method: GET description: GitHub List Reactions for Team Discussion (legacy) outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: content in: query type: string description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.9/rest/reactions/reactions#about-reactions). Omit this parameter to list all reacti - name: createreactionforteamdiscussionlegacy method: POST description: GitHub Create Reaction for Team Discussion (legacy) outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: teams-team_id-members path: /teams/{team_id}/members operations: - name: listteammemberslegacy method: GET description: GitHub List Team Members (legacy) outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: role in: query type: string description: Filters members returned by their role in the team. - name: teams-team_id-members-username path: /teams/{team_id}/members/{username} operations: - name: getteammemberlegacy method: GET description: GitHub Get Team Member (legacy) outputRawFormat: json outputParameters: - name: result type: object value: $. - name: addteammemberlegacy method: PUT description: GitHub Add Team Member (legacy) outputRawFormat: json outputParameters: - name: result type: object value: $. - name: removeteammemberlegacy method: DELETE description: GitHub Remove Team Member (legacy) outputRawFormat: json outputParameters: - name: result type: object value: $. - name: teams-team_id-memberships-username path: /teams/{team_id}/memberships/{username} operations: - name: getteammembershipforuserlegacy method: GET description: GitHub Get Team Membership for User (legacy) outputRawFormat: json outputParameters: - name: result type: object value: $. - name: addorupdateteammembershipforuserlegacy method: PUT description: GitHub Add or Update Team Membership for User (legacy) outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: removeteammembershipforuserlegacy method: DELETE description: GitHub Remove Team Membership for User (legacy) outputRawFormat: json outputParameters: - name: result type: object value: $. - name: teams-team_id-projects path: /teams/{team_id}/projects operations: - name: listteamprojectslegacy method: GET description: GitHub List Team Projects (legacy) outputRawFormat: json outputParameters: - name: result type: object value: $. - name: teams-team_id-projects-project_id path: /teams/{team_id}/projects/{project_id} operations: - name: checkteampermissionsforprojectlegacy method: GET description: GitHub Check Team Permissions for Project (legacy) outputRawFormat: json outputParameters: - name: result type: object value: $. - name: addorupdateteamprojectpermissionslegacy method: PUT description: GitHub Add or Update Team Project Permissions (legacy) outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: removeprojectfromteamlegacy method: DELETE description: GitHub Remove Project from Team (legacy) outputRawFormat: json outputParameters: - name: result type: object value: $. - name: teams-team_id-repos path: /teams/{team_id}/repos operations: - name: listteamrepositorieslegacy method: GET description: GitHub List Team Repositories (legacy) outputRawFormat: json outputParameters: - name: result type: object value: $. - name: teams-team_id-repos-owner-repo path: /teams/{team_id}/repos/{owner}/{repo} operations: - name: checkteampermissionsforrepositorylegacy method: GET description: GitHub Check Team Permissions for Repository (legacy) outputRawFormat: json outputParameters: - name: result type: object value: $. - name: addorupdateteamrepositorypermissionslegacy method: PUT description: GitHub Add or Update Team Repository Permissions (legacy) outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: removerepositoryfromteamlegacy method: DELETE description: GitHub Remove Repository from Team (legacy) outputRawFormat: json outputParameters: - name: result type: object value: $. - name: teams-team_id-teams path: /teams/{team_id}/teams operations: - name: listchildteamslegacy method: GET description: GitHub List Child Teams (legacy) outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.GITHUB_API_KEY}}' exposes: - type: rest namespace: teams-legacy-rest port: 8080 description: REST adapter for GitHub Teams API — Legacy. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/teams/{team-id} name: teams-team-id description: REST surface for teams-team_id. operations: - method: GET name: getteamlegacy description: GitHub Get Team (legacy) call: teams-legacy.getteamlegacy outputParameters: - type: object mapping: $. - method: PATCH name: updateteamlegacy description: GitHub Update Team (legacy) call: teams-legacy.updateteamlegacy with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteteamlegacy description: GitHub Delete Team (legacy) call: teams-legacy.deleteteamlegacy outputParameters: - type: object mapping: $. - path: /v1/teams/{team-id}/discussions name: teams-team-id-discussions description: REST surface for teams-team_id-discussions. operations: - method: GET name: listdiscussionslegacy description: GitHub List Discussions (legacy) call: teams-legacy.listdiscussionslegacy outputParameters: - type: object mapping: $. - method: POST name: creatediscussionlegacy description: GitHub Create Discussion (legacy) call: teams-legacy.creatediscussionlegacy with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/teams/{team-id}/discussions/{discussion-number} name: teams-team-id-discussions-discussion-number description: REST surface for teams-team_id-discussions-discussion_number. operations: - method: GET name: getdiscussionlegacy description: GitHub Get Discussion (legacy) call: teams-legacy.getdiscussionlegacy outputParameters: - type: object mapping: $. - method: PATCH name: updatediscussionlegacy description: GitHub Update Discussion (legacy) call: teams-legacy.updatediscussionlegacy with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletediscussionlegacy description: GitHub Delete Discussion (legacy) call: teams-legacy.deletediscussionlegacy outputParameters: - type: object mapping: $. - path: /v1/teams/{team-id}/discussions/{discussion-number}/comments name: teams-team-id-discussions-discussion-number-comments description: REST surface for teams-team_id-discussions-discussion_number-comments. operations: - method: GET name: listdiscussioncommentslegacy description: GitHub List Discussion Comments (legacy) call: teams-legacy.listdiscussioncommentslegacy outputParameters: - type: object mapping: $. - method: POST name: creatediscussioncommentlegacy description: GitHub Create Discussion Comment (legacy) call: teams-legacy.creatediscussioncommentlegacy with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/teams/{team-id}/discussions/{discussion-number}/comments/{comment-number} name: teams-team-id-discussions-discussion-number-comments-comment-number description: REST surface for teams-team_id-discussions-discussion_number-comments-comment_number. operations: - method: GET name: getdiscussioncommentlegacy description: GitHub Get Discussion Comment (legacy) call: teams-legacy.getdiscussioncommentlegacy outputParameters: - type: object mapping: $. - method: PATCH name: updatediscussioncommentlegacy description: GitHub Update Discussion Comment (legacy) call: teams-legacy.updatediscussioncommentlegacy with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletediscussioncommentlegacy description: GitHub Delete Discussion Comment (legacy) call: teams-legacy.deletediscussioncommentlegacy outputParameters: - type: object mapping: $. - path: /v1/teams/{team-id}/discussions/{discussion-number}/comments/{comment-number}/reactions name: teams-team-id-discussions-discussion-number-comments-comment-number-reactions description: REST surface for teams-team_id-discussions-discussion_number-comments-comment_number-reactions. operations: - method: GET name: listreactionsforteamdiscussioncommentlegacy description: GitHub List Reactions for Team Discussion Comment (legacy) call: teams-legacy.listreactionsforteamdiscussioncommentlegacy with: content: rest.content outputParameters: - type: object mapping: $. - method: POST name: createreactionforteamdiscussioncommentlegacy description: GitHub Create Reaction for Team Discussion Comment (legacy) call: teams-legacy.createreactionforteamdiscussioncommentlegacy with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/teams/{team-id}/discussions/{discussion-number}/reactions name: teams-team-id-discussions-discussion-number-reactions description: REST surface for teams-team_id-discussions-discussion_number-reactions. operations: - method: GET name: listreactionsforteamdiscussionlegacy description: GitHub List Reactions for Team Discussion (legacy) call: teams-legacy.listreactionsforteamdiscussionlegacy with: content: rest.content outputParameters: - type: object mapping: $. - method: POST name: createreactionforteamdiscussionlegacy description: GitHub Create Reaction for Team Discussion (legacy) call: teams-legacy.createreactionforteamdiscussionlegacy with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/teams/{team-id}/members name: teams-team-id-members description: REST surface for teams-team_id-members. operations: - method: GET name: listteammemberslegacy description: GitHub List Team Members (legacy) call: teams-legacy.listteammemberslegacy with: role: rest.role outputParameters: - type: object mapping: $. - path: /v1/teams/{team-id}/members/{username} name: teams-team-id-members-username description: REST surface for teams-team_id-members-username. operations: - method: GET name: getteammemberlegacy description: GitHub Get Team Member (legacy) call: teams-legacy.getteammemberlegacy outputParameters: - type: object mapping: $. - method: PUT name: addteammemberlegacy description: GitHub Add Team Member (legacy) call: teams-legacy.addteammemberlegacy outputParameters: - type: object mapping: $. - method: DELETE name: removeteammemberlegacy description: GitHub Remove Team Member (legacy) call: teams-legacy.removeteammemberlegacy outputParameters: - type: object mapping: $. - path: /v1/teams/{team-id}/memberships/{username} name: teams-team-id-memberships-username description: REST surface for teams-team_id-memberships-username. operations: - method: GET name: getteammembershipforuserlegacy description: GitHub Get Team Membership for User (legacy) call: teams-legacy.getteammembershipforuserlegacy outputParameters: - type: object mapping: $. - method: PUT name: addorupdateteammembershipforuserlegacy description: GitHub Add or Update Team Membership for User (legacy) call: teams-legacy.addorupdateteammembershipforuserlegacy with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: removeteammembershipforuserlegacy description: GitHub Remove Team Membership for User (legacy) call: teams-legacy.removeteammembershipforuserlegacy outputParameters: - type: object mapping: $. - path: /v1/teams/{team-id}/projects name: teams-team-id-projects description: REST surface for teams-team_id-projects. operations: - method: GET name: listteamprojectslegacy description: GitHub List Team Projects (legacy) call: teams-legacy.listteamprojectslegacy outputParameters: - type: object mapping: $. - path: /v1/teams/{team-id}/projects/{project-id} name: teams-team-id-projects-project-id description: REST surface for teams-team_id-projects-project_id. operations: - method: GET name: checkteampermissionsforprojectlegacy description: GitHub Check Team Permissions for Project (legacy) call: teams-legacy.checkteampermissionsforprojectlegacy outputParameters: - type: object mapping: $. - method: PUT name: addorupdateteamprojectpermissionslegacy description: GitHub Add or Update Team Project Permissions (legacy) call: teams-legacy.addorupdateteamprojectpermissionslegacy with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: removeprojectfromteamlegacy description: GitHub Remove Project from Team (legacy) call: teams-legacy.removeprojectfromteamlegacy outputParameters: - type: object mapping: $. - path: /v1/teams/{team-id}/repos name: teams-team-id-repos description: REST surface for teams-team_id-repos. operations: - method: GET name: listteamrepositorieslegacy description: GitHub List Team Repositories (legacy) call: teams-legacy.listteamrepositorieslegacy outputParameters: - type: object mapping: $. - path: /v1/teams/{team-id}/repos/{owner}/{repo} name: teams-team-id-repos-owner-repo description: REST surface for teams-team_id-repos-owner-repo. operations: - method: GET name: checkteampermissionsforrepositorylegacy description: GitHub Check Team Permissions for Repository (legacy) call: teams-legacy.checkteampermissionsforrepositorylegacy outputParameters: - type: object mapping: $. - method: PUT name: addorupdateteamrepositorypermissionslegacy description: GitHub Add or Update Team Repository Permissions (legacy) call: teams-legacy.addorupdateteamrepositorypermissionslegacy with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: removerepositoryfromteamlegacy description: GitHub Remove Repository from Team (legacy) call: teams-legacy.removerepositoryfromteamlegacy outputParameters: - type: object mapping: $. - path: /v1/teams/{team-id}/teams name: teams-team-id-teams description: REST surface for teams-team_id-teams. operations: - method: GET name: listchildteamslegacy description: GitHub List Child Teams (legacy) call: teams-legacy.listchildteamslegacy outputParameters: - type: object mapping: $. - type: mcp namespace: teams-legacy-mcp port: 9090 transport: http description: MCP adapter for GitHub Teams API — Legacy. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: github-get-team-legacy description: GitHub Get Team (legacy) hints: readOnly: true destructive: false idempotent: true call: teams-legacy.getteamlegacy outputParameters: - type: object mapping: $. - name: github-update-team-legacy description: GitHub Update Team (legacy) hints: readOnly: false destructive: false idempotent: true call: teams-legacy.updateteamlegacy with: body: tools.body outputParameters: - type: object mapping: $. - name: github-delete-team-legacy description: GitHub Delete Team (legacy) hints: readOnly: false destructive: true idempotent: true call: teams-legacy.deleteteamlegacy outputParameters: - type: object mapping: $. - name: github-list-discussions-legacy description: GitHub List Discussions (legacy) hints: readOnly: true destructive: false idempotent: true call: teams-legacy.listdiscussionslegacy outputParameters: - type: object mapping: $. - name: github-create-discussion-legacy description: GitHub Create Discussion (legacy) hints: readOnly: false destructive: false idempotent: false call: teams-legacy.creatediscussionlegacy with: body: tools.body outputParameters: - type: object mapping: $. - name: github-get-discussion-legacy description: GitHub Get Discussion (legacy) hints: readOnly: true destructive: false idempotent: true call: teams-legacy.getdiscussionlegacy outputParameters: - type: object mapping: $. - name: github-update-discussion-legacy description: GitHub Update Discussion (legacy) hints: readOnly: false destructive: false idempotent: true call: teams-legacy.updatediscussionlegacy with: body: tools.body outputParameters: - type: object mapping: $. - name: github-delete-discussion-legacy description: GitHub Delete Discussion (legacy) hints: readOnly: false destructive: true idempotent: true call: teams-legacy.deletediscussionlegacy outputParameters: - type: object mapping: $. - name: github-list-discussion-comments-legacy description: GitHub List Discussion Comments (legacy) hints: readOnly: true destructive: false idempotent: true call: teams-legacy.listdiscussioncommentslegacy outputParameters: - type: object mapping: $. - name: github-create-discussion-comment-legacy description: GitHub Create Discussion Comment (legacy) hints: readOnly: false destructive: false idempotent: false call: teams-legacy.creatediscussioncommentlegacy with: body: tools.body outputParameters: - type: object mapping: $. - name: github-get-discussion-comment-legacy description: GitHub Get Discussion Comment (legacy) hints: readOnly: true destructive: false idempotent: true call: teams-legacy.getdiscussioncommentlegacy outputParameters: - type: object mapping: $. - name: github-update-discussion-comment-legacy description: GitHub Update Discussion Comment (legacy) hints: readOnly: false destructive: false idempotent: true call: teams-legacy.updatediscussioncommentlegacy with: body: tools.body outputParameters: - type: object mapping: $. - name: github-delete-discussion-comment-legacy description: GitHub Delete Discussion Comment (legacy) hints: readOnly: false destructive: true idempotent: true call: teams-legacy.deletediscussioncommentlegacy outputParameters: - type: object mapping: $. - name: github-list-reactions-team-discussion description: GitHub List Reactions for Team Discussion Comment (legacy) hints: readOnly: true destructive: false idempotent: true call: teams-legacy.listreactionsforteamdiscussioncommentlegacy with: content: tools.content outputParameters: - type: object mapping: $. - name: github-create-reaction-team-discussion description: GitHub Create Reaction for Team Discussion Comment (legacy) hints: readOnly: false destructive: false idempotent: false call: teams-legacy.createreactionforteamdiscussioncommentlegacy with: body: tools.body outputParameters: - type: object mapping: $. - name: github-list-reactions-team-discussion-2 description: GitHub List Reactions for Team Discussion (legacy) hints: readOnly: true destructive: false idempotent: true call: teams-legacy.listreactionsforteamdiscussionlegacy with: content: tools.content outputParameters: - type: object mapping: $. - name: github-create-reaction-team-discussion-2 description: GitHub Create Reaction for Team Discussion (legacy) hints: readOnly: false destructive: false idempotent: false call: teams-legacy.createreactionforteamdiscussionlegacy with: body: tools.body outputParameters: - type: object mapping: $. - name: github-list-team-members-legacy description: GitHub List Team Members (legacy) hints: readOnly: true destructive: false idempotent: true call: teams-legacy.listteammemberslegacy with: role: tools.role outputParameters: - type: object mapping: $. - name: github-get-team-member-legacy description: GitHub Get Team Member (legacy) hints: readOnly: true destructive: false idempotent: true call: teams-legacy.getteammemberlegacy outputParameters: - type: object mapping: $. - name: github-add-team-member-legacy description: GitHub Add Team Member (legacy) hints: readOnly: false destructive: false idempotent: true call: teams-legacy.addteammemberlegacy outputParameters: - type: object mapping: $. - name: github-remove-team-member-legacy description: GitHub Remove Team Member (legacy) hints: readOnly: false destructive: true idempotent: true call: teams-legacy.removeteammemberlegacy outputParameters: - type: object mapping: $. - name: github-get-team-membership-user description: GitHub Get Team Membership for User (legacy) hints: readOnly: true destructive: false idempotent: true call: teams-legacy.getteammembershipforuserlegacy outputParameters: - type: object mapping: $. - name: github-add-update-team-membership description: GitHub Add or Update Team Membership for User (legacy) hints: readOnly: false destructive: false idempotent: true call: teams-legacy.addorupdateteammembershipforuserlegacy with: body: tools.body outputParameters: - type: object mapping: $. - name: github-remove-team-membership-user description: GitHub Remove Team Membership for User (legacy) hints: readOnly: false destructive: true idempotent: true call: teams-legacy.removeteammembershipforuserlegacy outputParameters: - type: object mapping: $. - name: github-list-team-projects-legacy description: GitHub List Team Projects (legacy) hints: readOnly: true destructive: false idempotent: true call: teams-legacy.listteamprojectslegacy outputParameters: - type: object mapping: $. - name: github-check-team-permissions-project description: GitHub Check Team Permissions for Project (legacy) hints: readOnly: true destructive: false idempotent: true call: teams-legacy.checkteampermissionsforprojectlegacy outputParameters: - type: object mapping: $. - name: github-add-update-team-project description: GitHub Add or Update Team Project Permissions (legacy) hints: readOnly: false destructive: false idempotent: true call: teams-legacy.addorupdateteamprojectpermissionslegacy with: body: tools.body outputParameters: - type: object mapping: $. - name: github-remove-project-team-legacy description: GitHub Remove Project from Team (legacy) hints: readOnly: false destructive: true idempotent: true call: teams-legacy.removeprojectfromteamlegacy outputParameters: - type: object mapping: $. - name: github-list-team-repositories-legacy description: GitHub List Team Repositories (legacy) hints: readOnly: true destructive: false idempotent: true call: teams-legacy.listteamrepositorieslegacy outputParameters: - type: object mapping: $. - name: github-check-team-permissions-repository description: GitHub Check Team Permissions for Repository (legacy) hints: readOnly: true destructive: false idempotent: true call: teams-legacy.checkteampermissionsforrepositorylegacy outputParameters: - type: object mapping: $. - name: github-add-update-team-repository description: GitHub Add or Update Team Repository Permissions (legacy) hints: readOnly: false destructive: false idempotent: true call: teams-legacy.addorupdateteamrepositorypermissionslegacy with: body: tools.body outputParameters: - type: object mapping: $. - name: github-remove-repository-team-legacy description: GitHub Remove Repository from Team (legacy) hints: readOnly: false destructive: true idempotent: true call: teams-legacy.removerepositoryfromteamlegacy outputParameters: - type: object mapping: $. - name: github-list-child-teams-legacy description: GitHub List Child Teams (legacy) hints: readOnly: true destructive: false idempotent: true call: teams-legacy.listchildteamslegacy outputParameters: - type: object mapping: $.