naftiko: 1.0.0-alpha2 info: label: Box Platform API — Classifications on Files description: 'Box Platform API — Classifications on Files. 4 operations. Lead operation: Box Get classification on file. Self-contained Naftiko capability covering one Box business surface.' tags: - Box - Classifications on Files created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: BOX_API_KEY: BOX_API_KEY capability: consumes: - type: http namespace: box-classifications-on-files baseUri: https://api.box.com/2.0 description: Box Platform API — Classifications on Files business capability. Self-contained, no shared references. resources: - name: files-file_id-metadata-enterprise-securityClassification-6VMVochwUWo path: /files/{file_id}/metadata/enterprise/securityClassification-6VMVochwUWo operations: - name: getfilesidmetadataenterprisesecurityclassification6vmvochwuwo method: GET description: Box Get classification on file outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: file_id in: path type: string description: The unique identifier that represents a file. required: true - name: postfilesidmetadataenterprisesecurityclassification6vmvochwuwo method: POST description: Box Add classification to file outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: file_id in: path type: string description: The unique identifier that represents a file. required: true - name: body in: body type: object description: Request body (JSON). required: false - name: putfilesidmetadataenterprisesecurityclassification6vmvochwuwo method: PUT description: Box Update classification on file outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: file_id in: path type: string description: The unique identifier that represents a file. required: true - name: body in: body type: object description: Request body (JSON). required: false - name: deletefilesidmetadataenterprisesecurityclassification6vmvochwuwo method: DELETE description: Box Remove classification from file outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: file_id in: path type: string description: The unique identifier that represents a file. required: true authentication: type: bearer token: '{{env.BOX_API_KEY}}' exposes: - type: rest namespace: box-classifications-on-files-rest port: 8080 description: REST adapter for Box Platform API — Classifications on Files. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/files/{file-id}/metadata/enterprise/securityclassification-6vmvochwuwo name: files-file-id-metadata-enterprise-securityclassification-6vmvochwuwo description: REST surface for files-file_id-metadata-enterprise-securityClassification-6VMVochwUWo. operations: - method: GET name: getfilesidmetadataenterprisesecurityclassification6vmvochwuwo description: Box Get classification on file call: box-classifications-on-files.getfilesidmetadataenterprisesecurityclassification6vmvochwuwo with: file_id: rest.file_id outputParameters: - type: object mapping: $. - method: POST name: postfilesidmetadataenterprisesecurityclassification6vmvochwuwo description: Box Add classification to file call: box-classifications-on-files.postfilesidmetadataenterprisesecurityclassification6vmvochwuwo with: file_id: rest.file_id body: rest.body outputParameters: - type: object mapping: $. - method: PUT name: putfilesidmetadataenterprisesecurityclassification6vmvochwuwo description: Box Update classification on file call: box-classifications-on-files.putfilesidmetadataenterprisesecurityclassification6vmvochwuwo with: file_id: rest.file_id body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletefilesidmetadataenterprisesecurityclassification6vmvochwuwo description: Box Remove classification from file call: box-classifications-on-files.deletefilesidmetadataenterprisesecurityclassification6vmvochwuwo with: file_id: rest.file_id outputParameters: - type: object mapping: $. - type: mcp namespace: box-classifications-on-files-mcp port: 9090 transport: http description: MCP adapter for Box Platform API — Classifications on Files. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: box-get-classification-file description: Box Get classification on file hints: readOnly: true destructive: false idempotent: true call: box-classifications-on-files.getfilesidmetadataenterprisesecurityclassification6vmvochwuwo with: file_id: tools.file_id outputParameters: - type: object mapping: $. - name: box-add-classification-file description: Box Add classification to file hints: readOnly: false destructive: false idempotent: false call: box-classifications-on-files.postfilesidmetadataenterprisesecurityclassification6vmvochwuwo with: file_id: tools.file_id body: tools.body outputParameters: - type: object mapping: $. - name: box-update-classification-file description: Box Update classification on file hints: readOnly: false destructive: false idempotent: true call: box-classifications-on-files.putfilesidmetadataenterprisesecurityclassification6vmvochwuwo with: file_id: tools.file_id body: tools.body outputParameters: - type: object mapping: $. - name: box-remove-classification-file description: Box Remove classification from file hints: readOnly: false destructive: true idempotent: true call: box-classifications-on-files.deletefilesidmetadataenterprisesecurityclassification6vmvochwuwo with: file_id: tools.file_id outputParameters: - type: object mapping: $.