Box · Capability

Box Tasks API — Tasks

Box Tasks API — Tasks. 5 operations. Lead operation: Box Create task. Self-contained Naftiko capability covering one Box business surface.

Run with Naftiko BoxTasks

What You Can Do

POST
Posttasks — Box Create task
/v1/tasks
GET
Gettasksid — Box Get task
/v1/tasks/{task-id}
PUT
Puttasksid — Box Update task
/v1/tasks/{task-id}
DELETE
Deletetasksid — Box Remove task
/v1/tasks/{task-id}
GET
Gettasksidassignments — Box List task assignments
/v1/tasks/{task-id}/assignments

MCP Tools

box-create-task

Box Create task

box-get-task

Box Get task

read-only idempotent
box-update-task

Box Update task

idempotent
box-remove-task

Box Remove task

idempotent
box-list-task-assignments

Box List task assignments

read-only idempotent

Capability Spec

tasks-tasks.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Box Tasks API — Tasks
  description: 'Box Tasks API — Tasks. 5 operations. Lead operation: Box Create task. Self-contained Naftiko capability covering
    one Box business surface.'
  tags:
  - Box
  - Tasks
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    BOX_API_KEY: BOX_API_KEY
capability:
  consumes:
  - type: http
    namespace: tasks-tasks
    baseUri: ''
    description: Box Tasks API — Tasks business capability. Self-contained, no shared references.
    resources:
    - name: tasks
      path: /tasks
      operations:
      - name: posttasks
        method: POST
        description: Box Create task
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: tasks-task_id
      path: /tasks/{task_id}
      operations:
      - name: gettasksid
        method: GET
        description: Box Get task
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: task_id
          in: path
          type: string
          description: The ID of the task.
          required: true
      - name: puttasksid
        method: PUT
        description: Box Update task
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: task_id
          in: path
          type: string
          description: The ID of the task.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: deletetasksid
        method: DELETE
        description: Box Remove task
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: task_id
          in: path
          type: string
          description: The ID of the task.
          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
  exposes:
  - type: rest
    namespace: tasks-tasks-rest
    port: 8080
    description: REST adapter for Box Tasks API — Tasks. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/tasks
      name: tasks
      description: REST surface for tasks.
      operations:
      - method: POST
        name: posttasks
        description: Box Create task
        call: tasks-tasks.posttasks
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/tasks/{task-id}
      name: tasks-task-id
      description: REST surface for tasks-task_id.
      operations:
      - method: GET
        name: gettasksid
        description: Box Get task
        call: tasks-tasks.gettasksid
        with:
          task_id: rest.task_id
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: puttasksid
        description: Box Update task
        call: tasks-tasks.puttasksid
        with:
          task_id: rest.task_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletetasksid
        description: Box Remove task
        call: tasks-tasks.deletetasksid
        with:
          task_id: rest.task_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: tasks-tasks.gettasksidassignments
        with:
          task_id: rest.task_id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: tasks-tasks-mcp
    port: 9090
    transport: http
    description: MCP adapter for Box Tasks API — Tasks. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: box-create-task
      description: Box Create task
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: tasks-tasks.posttasks
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: box-get-task
      description: Box Get task
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: tasks-tasks.gettasksid
      with:
        task_id: tools.task_id
      outputParameters:
      - type: object
        mapping: $.
    - name: box-update-task
      description: Box Update task
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: tasks-tasks.puttasksid
      with:
        task_id: tools.task_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: box-remove-task
      description: Box Remove task
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: tasks-tasks.deletetasksid
      with:
        task_id: tools.task_id
      outputParameters:
      - type: object
        mapping: $.
    - name: box-list-task-assignments
      description: Box List task assignments
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: tasks-tasks.gettasksidassignments
      with:
        task_id: tools.task_id
      outputParameters:
      - type: object
        mapping: $.