Composio · Capability

Composio Platform API — Files

Composio Platform API — Files. 2 operations. Lead operation: List files with optional app and action filters. Self-contained Naftiko capability covering one Composio business surface.

Run with Naftiko ComposioFiles

What You Can Do

GET
Getfileslist — List files with optional app and action filters
/v1/api/v3/files/list
POST
Postfilesuploadrequest — Create presigned URL for request file upload to S3
/v1/api/v3/files/upload/request

MCP Tools

list-files-optional-app-and

List files with optional app and action filters

read-only idempotent
create-presigned-url-request-file

Create presigned URL for request file upload to S3

Capability Spec

composio-files.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Composio Platform API — Files
  description: 'Composio Platform API — Files. 2 operations. Lead operation: List files with optional app and action filters.
    Self-contained Naftiko capability covering one Composio business surface.'
  tags:
  - Composio
  - Files
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    COMPOSIO_API_KEY: COMPOSIO_API_KEY
capability:
  consumes:
  - type: http
    namespace: composio-files
    baseUri: https://backend.composio.dev
    description: Composio Platform API — Files business capability. Self-contained, no shared references.
    resources:
    - name: api-v3-files-list
      path: /api/v3/files/list
      operations:
      - name: getfileslist
        method: GET
        description: List files with optional app and action filters
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: toolkit_slug
          in: query
          type: string
          description: 'Filter files by app slug. Example: "file-converter"'
        - name: tool_slug
          in: query
          type: string
          description: 'Filter files by action slug. Example: "convert-to-pdf"'
        - name: limit
          in: query
          type: number
          description: Number of items per page, max allowed is 1000
        - name: cursor
          in: query
          type: string
          description: Cursor for pagination. The cursor is a base64 encoded string of the page and limit. The page is the
            page number and the limit is the number of items per page. T
    - name: api-v3-files-upload-request
      path: /api/v3/files/upload/request
      operations:
      - name: postfilesuploadrequest
        method: POST
        description: Create presigned URL for request file upload to S3
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    authentication:
      type: apikey
      key: x-api-key
      value: '{{env.COMPOSIO_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: composio-files-rest
    port: 8080
    description: REST adapter for Composio Platform API — Files. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/api/v3/files/list
      name: api-v3-files-list
      description: REST surface for api-v3-files-list.
      operations:
      - method: GET
        name: getfileslist
        description: List files with optional app and action filters
        call: composio-files.getfileslist
        with:
          toolkit_slug: rest.toolkit_slug
          tool_slug: rest.tool_slug
          limit: rest.limit
          cursor: rest.cursor
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v3/files/upload/request
      name: api-v3-files-upload-request
      description: REST surface for api-v3-files-upload-request.
      operations:
      - method: POST
        name: postfilesuploadrequest
        description: Create presigned URL for request file upload to S3
        call: composio-files.postfilesuploadrequest
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: composio-files-mcp
    port: 9090
    transport: http
    description: MCP adapter for Composio Platform API — Files. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: list-files-optional-app-and
      description: List files with optional app and action filters
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: composio-files.getfileslist
      with:
        toolkit_slug: tools.toolkit_slug
        tool_slug: tools.tool_slug
        limit: tools.limit
        cursor: tools.cursor
      outputParameters:
      - type: object
        mapping: $.
    - name: create-presigned-url-request-file
      description: Create presigned URL for request file upload to S3
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: composio-files.postfilesuploadrequest
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.