naftiko: 1.0.0-alpha2 info: label: Box Platform API — Task Assignments description: 'Box Platform API — Task Assignments. 5 operations. Lead operation: Box Assign task. Self-contained Naftiko capability covering one Box business surface.' tags: - Box - Task Assignments created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: BOX_API_KEY: BOX_API_KEY capability: consumes: - type: http namespace: box-task-assignments baseUri: https://api.box.com/2.0 description: Box Platform API — Task Assignments business capability. Self-contained, no shared references. resources: - name: task_assignments path: /task_assignments operations: - name: posttaskassignments method: POST description: Box Assign task outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: task_assignments-task_assignment_id path: /task_assignments/{task_assignment_id} operations: - name: gettaskassignmentsid method: GET description: Box Get task assignment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: task_assignment_id in: path type: string description: The ID of the task assignment. required: true - name: puttaskassignmentsid method: PUT description: Box Update task assignment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: task_assignment_id in: path type: string description: The ID of the task assignment. required: true - name: body in: body type: object description: Request body (JSON). required: false - name: deletetaskassignmentsid method: DELETE description: Box Unassign task outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: task_assignment_id in: path type: string description: The ID of the task assignment. required: true - name: tasks-task_id-assignments path: /tasks/{task_id}/assignments operations: - name: gettasksidassignments method: GET description: Box List task assignments outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: task_id in: path type: string description: The ID of the task. required: true authentication: type: bearer token: '{{env.BOX_API_KEY}}' exposes: - type: rest namespace: box-task-assignments-rest port: 8080 description: REST adapter for Box Platform API — Task Assignments. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/task-assignments name: task-assignments description: REST surface for task_assignments. operations: - method: POST name: posttaskassignments description: Box Assign task call: box-task-assignments.posttaskassignments with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/task-assignments/{task-assignment-id} name: task-assignments-task-assignment-id description: REST surface for task_assignments-task_assignment_id. operations: - method: GET name: gettaskassignmentsid description: Box Get task assignment call: box-task-assignments.gettaskassignmentsid with: task_assignment_id: rest.task_assignment_id outputParameters: - type: object mapping: $. - method: PUT name: puttaskassignmentsid description: Box Update task assignment call: box-task-assignments.puttaskassignmentsid with: task_assignment_id: rest.task_assignment_id body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletetaskassignmentsid description: Box Unassign task call: box-task-assignments.deletetaskassignmentsid with: task_assignment_id: rest.task_assignment_id outputParameters: - type: object mapping: $. - path: /v1/tasks/{task-id}/assignments name: tasks-task-id-assignments description: REST surface for tasks-task_id-assignments. operations: - method: GET name: gettasksidassignments description: Box List task assignments call: box-task-assignments.gettasksidassignments with: task_id: rest.task_id outputParameters: - type: object mapping: $. - type: mcp namespace: box-task-assignments-mcp port: 9090 transport: http description: MCP adapter for Box Platform API — Task Assignments. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: box-assign-task description: Box Assign task hints: readOnly: false destructive: false idempotent: false call: box-task-assignments.posttaskassignments with: body: tools.body outputParameters: - type: object mapping: $. - name: box-get-task-assignment description: Box Get task assignment hints: readOnly: true destructive: false idempotent: true call: box-task-assignments.gettaskassignmentsid with: task_assignment_id: tools.task_assignment_id outputParameters: - type: object mapping: $. - name: box-update-task-assignment description: Box Update task assignment hints: readOnly: false destructive: false idempotent: true call: box-task-assignments.puttaskassignmentsid with: task_assignment_id: tools.task_assignment_id body: tools.body outputParameters: - type: object mapping: $. - name: box-unassign-task description: Box Unassign task hints: readOnly: false destructive: true idempotent: true call: box-task-assignments.deletetaskassignmentsid with: task_assignment_id: tools.task_assignment_id outputParameters: - type: object mapping: $. - name: box-list-task-assignments description: Box List task assignments hints: readOnly: true destructive: false idempotent: true call: box-task-assignments.gettasksidassignments with: task_id: tools.task_id outputParameters: - type: object mapping: $.