naftiko: 1.0.0-alpha2 info: label: Box Platform API — Collaborations description: 'Box Platform API — Collaborations. 4 operations. Lead operation: Box Create collaboration. Self-contained Naftiko capability covering one Box business surface.' tags: - Box - Collaborations created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: BOX_API_KEY: BOX_API_KEY capability: consumes: - type: http namespace: box-collaborations baseUri: https://api.box.com/2.0 description: Box Platform API — Collaborations business capability. Self-contained, no shared references. resources: - name: collaborations path: /collaborations operations: - name: postcollaborations method: POST description: Box Create collaboration outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: fields in: query type: array description: A comma-separated list of attributes to include in the - name: notify in: query type: boolean description: Determines if users should receive email notification - name: body in: body type: object description: Request body (JSON). required: false - name: collaborations-collaboration_id path: /collaborations/{collaboration_id} operations: - name: getcollaborationsid method: GET description: Box Get collaboration outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: collaboration_id in: path type: string description: The ID of the collaboration required: true - name: fields in: query type: array description: A comma-separated list of attributes to include in the - name: putcollaborationsid method: PUT description: Box Update collaboration outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: collaboration_id in: path type: string description: The ID of the collaboration required: true - name: body in: body type: object description: Request body (JSON). required: false - name: deletecollaborationsid method: DELETE description: Box Remove collaboration outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: collaboration_id in: path type: string description: The ID of the collaboration required: true authentication: type: bearer token: '{{env.BOX_API_KEY}}' exposes: - type: rest namespace: box-collaborations-rest port: 8080 description: REST adapter for Box Platform API — Collaborations. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/collaborations name: collaborations description: REST surface for collaborations. operations: - method: POST name: postcollaborations description: Box Create collaboration call: box-collaborations.postcollaborations with: fields: rest.fields notify: rest.notify body: rest.body outputParameters: - type: object mapping: $. - path: /v1/collaborations/{collaboration-id} name: collaborations-collaboration-id description: REST surface for collaborations-collaboration_id. operations: - method: GET name: getcollaborationsid description: Box Get collaboration call: box-collaborations.getcollaborationsid with: collaboration_id: rest.collaboration_id fields: rest.fields outputParameters: - type: object mapping: $. - method: PUT name: putcollaborationsid description: Box Update collaboration call: box-collaborations.putcollaborationsid with: collaboration_id: rest.collaboration_id body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletecollaborationsid description: Box Remove collaboration call: box-collaborations.deletecollaborationsid with: collaboration_id: rest.collaboration_id outputParameters: - type: object mapping: $. - type: mcp namespace: box-collaborations-mcp port: 9090 transport: http description: MCP adapter for Box Platform API — Collaborations. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: box-create-collaboration description: Box Create collaboration hints: readOnly: false destructive: false idempotent: false call: box-collaborations.postcollaborations with: fields: tools.fields notify: tools.notify body: tools.body outputParameters: - type: object mapping: $. - name: box-get-collaboration description: Box Get collaboration hints: readOnly: true destructive: false idempotent: true call: box-collaborations.getcollaborationsid with: collaboration_id: tools.collaboration_id fields: tools.fields outputParameters: - type: object mapping: $. - name: box-update-collaboration description: Box Update collaboration hints: readOnly: false destructive: false idempotent: true call: box-collaborations.putcollaborationsid with: collaboration_id: tools.collaboration_id body: tools.body outputParameters: - type: object mapping: $. - name: box-remove-collaboration description: Box Remove collaboration hints: readOnly: false destructive: true idempotent: true call: box-collaborations.deletecollaborationsid with: collaboration_id: tools.collaboration_id outputParameters: - type: object mapping: $.