naftiko: 1.0.0-alpha2 info: label: GitBook API — Organization Teams description: 'GitBook API — Organization Teams. 2 operations. Lead operation: GitBook List organization teams. Self-contained Naftiko capability covering one Gitbook business surface.' tags: - Gitbook - Organization Teams created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GITBOOK_API_KEY: GITBOOK_API_KEY capability: consumes: - type: http namespace: gitbook-organization-teams baseUri: https://api.gitbook.com/v1 description: GitBook API — Organization Teams business capability. Self-contained, no shared references. resources: - name: orgs-organizationId-teams path: /orgs/{organizationId}/teams operations: - name: listorganizationteams method: GET description: GitBook List organization teams outputRawFormat: json outputParameters: - name: result type: object value: $. - name: orgs-organizationId-teams-teamId path: /orgs/{organizationId}/teams/{teamId} operations: - name: getorganizationteam method: GET description: GitBook Get a team outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.GITBOOK_API_KEY}}' exposes: - type: rest namespace: gitbook-organization-teams-rest port: 8080 description: REST adapter for GitBook API — Organization Teams. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/orgs/{organizationid}/teams name: orgs-organizationid-teams description: REST surface for orgs-organizationId-teams. operations: - method: GET name: listorganizationteams description: GitBook List organization teams call: gitbook-organization-teams.listorganizationteams outputParameters: - type: object mapping: $. - path: /v1/orgs/{organizationid}/teams/{teamid} name: orgs-organizationid-teams-teamid description: REST surface for orgs-organizationId-teams-teamId. operations: - method: GET name: getorganizationteam description: GitBook Get a team call: gitbook-organization-teams.getorganizationteam outputParameters: - type: object mapping: $. - type: mcp namespace: gitbook-organization-teams-mcp port: 9090 transport: http description: MCP adapter for GitBook API — Organization Teams. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: gitbook-list-organization-teams description: GitBook List organization teams hints: readOnly: true destructive: false idempotent: true call: gitbook-organization-teams.listorganizationteams outputParameters: - type: object mapping: $. - name: gitbook-get-team description: GitBook Get a team hints: readOnly: true destructive: false idempotent: true call: gitbook-organization-teams.getorganizationteam outputParameters: - type: object mapping: $.