Box · Capability

Box Platform API — Trashed Items

Box Platform API — Trashed Items. 1 operations. Lead operation: Box List trashed items. Self-contained Naftiko capability covering one Box business surface.

Run with Naftiko BoxTrashed Items

What You Can Do

GET
Getfolderstrashitems — Box List trashed items
/v1/folders/trash/items

MCP Tools

box-list-trashed-items

Box List trashed items

read-only idempotent

Capability Spec

box-trashed-items.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Box Platform API — Trashed Items
  description: 'Box Platform API — Trashed Items. 1 operations. Lead operation: Box List trashed items. Self-contained Naftiko
    capability covering one Box business surface.'
  tags:
  - Box
  - Trashed Items
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    BOX_API_KEY: BOX_API_KEY
capability:
  consumes:
  - type: http
    namespace: box-trashed-items
    baseUri: https://api.box.com/2.0
    description: Box Platform API — Trashed Items business capability. Self-contained, no shared references.
    resources:
    - name: folders-trash-items
      path: /folders/trash/items
      operations:
      - name: getfolderstrashitems
        method: GET
        description: Box List trashed items
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: A comma-separated list of attributes to include in the
        - name: limit
          in: query
          type: integer
          description: The maximum number of items to return per page.
        - name: offset
          in: query
          type: integer
          description: The offset of the item at which to begin the response.
        - name: usemarker
          in: query
          type: boolean
          description: Specifies whether to use marker-based pagination instead of
        - name: marker
          in: query
          type: string
          description: Defines the position marker at which to begin returning results. This is
        - name: direction
          in: query
          type: string
          description: The direction to sort results in. This can be either in alphabetical ascending
        - name: sort
          in: query
          type: string
          description: Defines the **second** attribute by which items
    authentication:
      type: bearer
      token: '{{env.BOX_API_KEY}}'
  exposes:
  - type: rest
    namespace: box-trashed-items-rest
    port: 8080
    description: REST adapter for Box Platform API — Trashed Items. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/folders/trash/items
      name: folders-trash-items
      description: REST surface for folders-trash-items.
      operations:
      - method: GET
        name: getfolderstrashitems
        description: Box List trashed items
        call: box-trashed-items.getfolderstrashitems
        with:
          fields: rest.fields
          limit: rest.limit
          offset: rest.offset
          usemarker: rest.usemarker
          marker: rest.marker
          direction: rest.direction
          sort: rest.sort
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: box-trashed-items-mcp
    port: 9090
    transport: http
    description: MCP adapter for Box Platform API — Trashed Items. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: box-list-trashed-items
      description: Box List trashed items
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: box-trashed-items.getfolderstrashitems
      with:
        fields: tools.fields
        limit: tools.limit
        offset: tools.offset
        usemarker: tools.usemarker
        marker: tools.marker
        direction: tools.direction
        sort: tools.sort
      outputParameters:
      - type: object
        mapping: $.