Box · Capability

Box Tasks API — Files

Box Tasks API — Files. 1 operations. Lead operation: Box List tasks on file. Self-contained Naftiko capability covering one Box business surface.

Run with Naftiko BoxFiles

What You Can Do

GET
Getfilesidtasks — Box List tasks on file
/v1/files/{file-id}/tasks

MCP Tools

box-list-tasks-file

Box List tasks on file

read-only idempotent

Capability Spec

tasks-files.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Box Tasks API — Files
  description: 'Box Tasks API — Files. 1 operations. Lead operation: Box List tasks on file. Self-contained Naftiko capability
    covering one Box business surface.'
  tags:
  - Box
  - Files
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    BOX_API_KEY: BOX_API_KEY
capability:
  consumes:
  - type: http
    namespace: tasks-files
    baseUri: ''
    description: Box Tasks API — Files business capability. Self-contained, no shared references.
    resources:
    - name: files-file_id-tasks
      path: /files/{file_id}/tasks
      operations:
      - name: getfilesidtasks
        method: GET
        description: Box List tasks 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
  exposes:
  - type: rest
    namespace: tasks-files-rest
    port: 8080
    description: REST adapter for Box Tasks API — Files. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/files/{file-id}/tasks
      name: files-file-id-tasks
      description: REST surface for files-file_id-tasks.
      operations:
      - method: GET
        name: getfilesidtasks
        description: Box List tasks on file
        call: tasks-files.getfilesidtasks
        with:
          file_id: rest.file_id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: tasks-files-mcp
    port: 9090
    transport: http
    description: MCP adapter for Box Tasks API — Files. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: box-list-tasks-file
      description: Box List tasks on file
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: tasks-files.getfilesidtasks
      with:
        file_id: tools.file_id
      outputParameters:
      - type: object
        mapping: $.