naftiko: 1.0.0-alpha2 info: label: Box Platform API — Device Pinners description: 'Box Platform API — Device Pinners. 3 operations. Lead operation: Box Get device pin. Self-contained Naftiko capability covering one Box business surface.' tags: - Box - Device Pinners created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: BOX_API_KEY: BOX_API_KEY capability: consumes: - type: http namespace: box-device-pinners baseUri: https://api.box.com/2.0 description: Box Platform API — Device Pinners business capability. Self-contained, no shared references. resources: - name: device_pinners-device_pinner_id path: /device_pinners/{device_pinner_id} operations: - name: getdevicepinnersid method: GET description: Box Get device pin outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: device_pinner_id in: path type: string description: The ID of the device pin required: true - name: deletedevicepinnersid method: DELETE description: Box Remove device pin outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: device_pinner_id in: path type: string description: The ID of the device pin required: true - name: enterprises-enterprise_id-device_pinners path: /enterprises/{enterprise_id}/device_pinners operations: - name: getenterprisesiddevicepinners method: GET description: Box List enterprise device pins outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: enterprise_id in: path type: string description: The ID of the enterprise required: true - name: marker in: query type: string description: Defines the position marker at which to begin returning results. This is - name: limit in: query type: integer description: The maximum number of items to return per page. - name: direction in: query type: string description: The direction to sort results in. This can be either in alphabetical ascending authentication: type: bearer token: '{{env.BOX_API_KEY}}' exposes: - type: rest namespace: box-device-pinners-rest port: 8080 description: REST adapter for Box Platform API — Device Pinners. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/device-pinners/{device-pinner-id} name: device-pinners-device-pinner-id description: REST surface for device_pinners-device_pinner_id. operations: - method: GET name: getdevicepinnersid description: Box Get device pin call: box-device-pinners.getdevicepinnersid with: device_pinner_id: rest.device_pinner_id outputParameters: - type: object mapping: $. - method: DELETE name: deletedevicepinnersid description: Box Remove device pin call: box-device-pinners.deletedevicepinnersid with: device_pinner_id: rest.device_pinner_id outputParameters: - type: object mapping: $. - path: /v1/enterprises/{enterprise-id}/device-pinners name: enterprises-enterprise-id-device-pinners description: REST surface for enterprises-enterprise_id-device_pinners. operations: - method: GET name: getenterprisesiddevicepinners description: Box List enterprise device pins call: box-device-pinners.getenterprisesiddevicepinners with: enterprise_id: rest.enterprise_id marker: rest.marker limit: rest.limit direction: rest.direction outputParameters: - type: object mapping: $. - type: mcp namespace: box-device-pinners-mcp port: 9090 transport: http description: MCP adapter for Box Platform API — Device Pinners. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: box-get-device-pin description: Box Get device pin hints: readOnly: true destructive: false idempotent: true call: box-device-pinners.getdevicepinnersid with: device_pinner_id: tools.device_pinner_id outputParameters: - type: object mapping: $. - name: box-remove-device-pin description: Box Remove device pin hints: readOnly: false destructive: true idempotent: true call: box-device-pinners.deletedevicepinnersid with: device_pinner_id: tools.device_pinner_id outputParameters: - type: object mapping: $. - name: box-list-enterprise-device-pins description: Box List enterprise device pins hints: readOnly: true destructive: false idempotent: true call: box-device-pinners.getenterprisesiddevicepinners with: enterprise_id: tools.enterprise_id marker: tools.marker limit: tools.limit direction: tools.direction outputParameters: - type: object mapping: $.