Box · Capability

Box Platform API — Shared Links (Folders)

Box Platform API — Shared Links (Folders). 5 operations. Lead operation: Box Add shared link to folder. Self-contained Naftiko capability covering one Box business surface.

Run with Naftiko BoxShared Links (Folders)

What You Can Do

PUT
Putfoldersidaddsharedlink — Box Add shared link to folder
/v1/folders/folder-id-add-shared-link
GET
Getfoldersidgetsharedlink — Box Get shared link for folder
/v1/folders/folder-id-get-shared-link
PUT
Putfoldersidremovesharedlink — Box Remove shared link from folder
/v1/folders/folder-id-remove-shared-link
PUT
Putfoldersidupdatesharedlink — Box Update shared link on folder
/v1/folders/folder-id-update-shared-link
GET
Getshareditemsfolders — Box Find folder for shared link
/v1/shared-items-folders

MCP Tools

box-add-shared-link-folder

Box Add shared link to folder

idempotent
box-get-shared-link-folder

Box Get shared link for folder

read-only idempotent
box-remove-shared-link-folder

Box Remove shared link from folder

idempotent
box-update-shared-link-folder

Box Update shared link on folder

idempotent
box-find-folder-shared-link

Box Find folder for shared link

read-only idempotent

Capability Spec

box-shared-links-folders.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Box Platform API — Shared Links (Folders)
  description: 'Box Platform API — Shared Links (Folders). 5 operations. Lead operation: Box Add shared link to folder. Self-contained
    Naftiko capability covering one Box business surface.'
  tags:
  - Box
  - Shared Links (Folders)
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    BOX_API_KEY: BOX_API_KEY
capability:
  consumes:
  - type: http
    namespace: box-shared-links-folders
    baseUri: https://api.box.com/2.0
    description: Box Platform API — Shared Links (Folders) business capability. Self-contained, no shared references.
    resources:
    - name: folders-folder_id}#add_shared_link
      path: /folders/{folder_id}#add_shared_link
      operations:
      - name: putfoldersidaddsharedlink
        method: PUT
        description: Box Add shared link to folder
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: folder_id
          in: path
          type: string
          description: The unique identifier that represent a folder.
          required: true
        - name: fields
          in: query
          type: string
          description: Explicitly request the `shared_link` fields
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: folders-folder_id}#get_shared_link
      path: /folders/{folder_id}#get_shared_link
      operations:
      - name: getfoldersidgetsharedlink
        method: GET
        description: Box Get shared link for folder
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: folder_id
          in: path
          type: string
          description: The unique identifier that represent a folder.
          required: true
        - name: fields
          in: query
          type: string
          description: Explicitly request the `shared_link` fields
          required: true
    - name: folders-folder_id}#remove_shared_link
      path: /folders/{folder_id}#remove_shared_link
      operations:
      - name: putfoldersidremovesharedlink
        method: PUT
        description: Box Remove shared link from folder
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: folder_id
          in: path
          type: string
          description: The unique identifier that represent a folder.
          required: true
        - name: fields
          in: query
          type: string
          description: Explicitly request the `shared_link` fields
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: folders-folder_id}#update_shared_link
      path: /folders/{folder_id}#update_shared_link
      operations:
      - name: putfoldersidupdatesharedlink
        method: PUT
        description: Box Update shared link on folder
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: folder_id
          in: path
          type: string
          description: The unique identifier that represent a folder.
          required: true
        - name: fields
          in: query
          type: string
          description: Explicitly request the `shared_link` fields
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: shared_items#folders
      path: /shared_items#folders
      operations:
      - name: getshareditemsfolders
        method: GET
        description: Box Find folder for shared link
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: if-none-match
          in: header
          type: string
          description: Ensures an item is only returned if it has changed.
        - name: fields
          in: query
          type: array
          description: A comma-separated list of attributes to include in the
        - name: boxapi
          in: header
          type: string
          description: A header containing the shared link and optional password for the
          required: true
    authentication:
      type: bearer
      token: '{{env.BOX_API_KEY}}'
  exposes:
  - type: rest
    namespace: box-shared-links-folders-rest
    port: 8080
    description: REST adapter for Box Platform API — Shared Links (Folders). One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/folders/folder-id-add-shared-link
      name: folders-folder-id-add-shared-link
      description: REST surface for folders-folder_id}#add_shared_link.
      operations:
      - method: PUT
        name: putfoldersidaddsharedlink
        description: Box Add shared link to folder
        call: box-shared-links-folders.putfoldersidaddsharedlink
        with:
          folder_id: rest.folder_id
          fields: rest.fields
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/folders/folder-id-get-shared-link
      name: folders-folder-id-get-shared-link
      description: REST surface for folders-folder_id}#get_shared_link.
      operations:
      - method: GET
        name: getfoldersidgetsharedlink
        description: Box Get shared link for folder
        call: box-shared-links-folders.getfoldersidgetsharedlink
        with:
          folder_id: rest.folder_id
          fields: rest.fields
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/folders/folder-id-remove-shared-link
      name: folders-folder-id-remove-shared-link
      description: REST surface for folders-folder_id}#remove_shared_link.
      operations:
      - method: PUT
        name: putfoldersidremovesharedlink
        description: Box Remove shared link from folder
        call: box-shared-links-folders.putfoldersidremovesharedlink
        with:
          folder_id: rest.folder_id
          fields: rest.fields
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/folders/folder-id-update-shared-link
      name: folders-folder-id-update-shared-link
      description: REST surface for folders-folder_id}#update_shared_link.
      operations:
      - method: PUT
        name: putfoldersidupdatesharedlink
        description: Box Update shared link on folder
        call: box-shared-links-folders.putfoldersidupdatesharedlink
        with:
          folder_id: rest.folder_id
          fields: rest.fields
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/shared-items-folders
      name: shared-items-folders
      description: REST surface for shared_items#folders.
      operations:
      - method: GET
        name: getshareditemsfolders
        description: Box Find folder for shared link
        call: box-shared-links-folders.getshareditemsfolders
        with:
          if-none-match: rest.if-none-match
          fields: rest.fields
          boxapi: rest.boxapi
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: box-shared-links-folders-mcp
    port: 9090
    transport: http
    description: MCP adapter for Box Platform API — Shared Links (Folders). One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: box-add-shared-link-folder
      description: Box Add shared link to folder
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: box-shared-links-folders.putfoldersidaddsharedlink
      with:
        folder_id: tools.folder_id
        fields: tools.fields
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: box-get-shared-link-folder
      description: Box Get shared link for folder
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: box-shared-links-folders.getfoldersidgetsharedlink
      with:
        folder_id: tools.folder_id
        fields: tools.fields
      outputParameters:
      - type: object
        mapping: $.
    - name: box-remove-shared-link-folder
      description: Box Remove shared link from folder
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: box-shared-links-folders.putfoldersidremovesharedlink
      with:
        folder_id: tools.folder_id
        fields: tools.fields
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: box-update-shared-link-folder
      description: Box Update shared link on folder
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: box-shared-links-folders.putfoldersidupdatesharedlink
      with:
        folder_id: tools.folder_id
        fields: tools.fields
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: box-find-folder-shared-link
      description: Box Find folder for shared link
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: box-shared-links-folders.getshareditemsfolders
      with:
        if-none-match: tools.if-none-match
        fields: tools.fields
        boxapi: tools.boxapi
      outputParameters:
      - type: object
        mapping: $.