naftiko: 1.0.0-alpha2 info: label: Box Platform API — Trashed Web Links description: 'Box Platform API — Trashed Web Links. 3 operations. Lead operation: Box Restore web link. Self-contained Naftiko capability covering one Box business surface.' tags: - Box - Trashed Web Links created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: BOX_API_KEY: BOX_API_KEY capability: consumes: - type: http namespace: box-trashed-web-links baseUri: https://api.box.com/2.0 description: Box Platform API — Trashed Web Links business capability. Self-contained, no shared references. resources: - name: web_links-web_link_id path: /web_links/{web_link_id} operations: - name: postweblinksid method: POST description: Box Restore web link outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: web_link_id in: path type: string description: The ID of the web link. required: true - name: fields in: query type: array description: A comma-separated list of attributes to include in the - name: body in: body type: object description: Request body (JSON). required: false - name: web_links-web_link_id-trash path: /web_links/{web_link_id}/trash operations: - name: getweblinksidtrash method: GET description: Box Get trashed web link outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: web_link_id in: path type: string description: The ID of the web link. required: true - name: fields in: query type: array description: A comma-separated list of attributes to include in the - name: deleteweblinksidtrash method: DELETE description: Box Permanently remove web link outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: web_link_id in: path type: string description: The ID of the web link. required: true authentication: type: bearer token: '{{env.BOX_API_KEY}}' exposes: - type: rest namespace: box-trashed-web-links-rest port: 8080 description: REST adapter for Box Platform API — Trashed Web Links. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/web-links/{web-link-id} name: web-links-web-link-id description: REST surface for web_links-web_link_id. operations: - method: POST name: postweblinksid description: Box Restore web link call: box-trashed-web-links.postweblinksid with: web_link_id: rest.web_link_id fields: rest.fields body: rest.body outputParameters: - type: object mapping: $. - path: /v1/web-links/{web-link-id}/trash name: web-links-web-link-id-trash description: REST surface for web_links-web_link_id-trash. operations: - method: GET name: getweblinksidtrash description: Box Get trashed web link call: box-trashed-web-links.getweblinksidtrash with: web_link_id: rest.web_link_id fields: rest.fields outputParameters: - type: object mapping: $. - method: DELETE name: deleteweblinksidtrash description: Box Permanently remove web link call: box-trashed-web-links.deleteweblinksidtrash with: web_link_id: rest.web_link_id outputParameters: - type: object mapping: $. - type: mcp namespace: box-trashed-web-links-mcp port: 9090 transport: http description: MCP adapter for Box Platform API — Trashed Web Links. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: box-restore-web-link description: Box Restore web link hints: readOnly: false destructive: false idempotent: false call: box-trashed-web-links.postweblinksid with: web_link_id: tools.web_link_id fields: tools.fields body: tools.body outputParameters: - type: object mapping: $. - name: box-get-trashed-web-link description: Box Get trashed web link hints: readOnly: true destructive: false idempotent: true call: box-trashed-web-links.getweblinksidtrash with: web_link_id: tools.web_link_id fields: tools.fields outputParameters: - type: object mapping: $. - name: box-permanently-remove-web-link description: Box Permanently remove web link hints: readOnly: false destructive: true idempotent: true call: box-trashed-web-links.deleteweblinksidtrash with: web_link_id: tools.web_link_id outputParameters: - type: object mapping: $.