Slack · Capability

Slack Files API — Info

Slack Files API — Info. 2 operations. Lead operation: Slack Get Files Info. Self-contained Naftiko capability covering one Slack business surface.

Run with Naftiko SlackInfo

What You Can Do

GET
Getfilesinfo — Slack Get Files Info
/v1/files-info
GET
Getfilesremoteinfo — Slack Get Files Remote Info
/v1/files-remote-info

MCP Tools

slack-get-files-info

Slack Get Files Info

read-only idempotent
slack-get-files-remote-info

Slack Get Files Remote Info

read-only idempotent

Capability Spec

files-info.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Slack Files API — Info
  description: 'Slack Files API — Info. 2 operations. Lead operation: Slack Get Files Info. Self-contained Naftiko capability
    covering one Slack business surface.'
  tags:
  - Slack
  - Info
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SLACK_API_KEY: SLACK_API_KEY
capability:
  consumes:
  - type: http
    namespace: files-info
    baseUri: ''
    description: Slack Files API — Info business capability. Self-contained, no shared references.
    resources:
    - name: files.info
      path: /files.info
      operations:
      - name: getfilesinfo
        method: GET
        description: Slack Get Files Info
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: token
          in: query
          type: string
          description: 'Authentication token. Requires scope: `files:read`'
        - name: file
          in: query
          type: string
          description: Specify a file by providing its ID.
        - name: count
          in: query
          type: string
        - name: page
          in: query
          type: string
        - name: limit
          in: query
          type: integer
          description: The maximum number of items to return. Fewer than the requested number of items may be returned, even
            if the end of the list hasn't been reached.
        - name: cursor
          in: query
          type: string
          description: Parameter for pagination. File comments are paginated for a single file. Set `cursor` equal to the
            `next_cursor` attribute returned by the previous request's `r
    - name: files.remote.info
      path: /files.remote.info
      operations:
      - name: getfilesremoteinfo
        method: GET
        description: Slack Get Files Remote Info
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: token
          in: query
          type: string
          description: 'Authentication token. Requires scope: `remote_files:read`'
        - name: file
          in: query
          type: string
          description: Specify a file by providing its ID.
        - name: external_id
          in: query
          type: string
          description: Creator defined GUID for the file.
  exposes:
  - type: rest
    namespace: files-info-rest
    port: 8080
    description: REST adapter for Slack Files API — Info. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/files-info
      name: files-info
      description: REST surface for files.info.
      operations:
      - method: GET
        name: getfilesinfo
        description: Slack Get Files Info
        call: files-info.getfilesinfo
        with:
          token: rest.token
          file: rest.file
          count: rest.count
          page: rest.page
          limit: rest.limit
          cursor: rest.cursor
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/files-remote-info
      name: files-remote-info
      description: REST surface for files.remote.info.
      operations:
      - method: GET
        name: getfilesremoteinfo
        description: Slack Get Files Remote Info
        call: files-info.getfilesremoteinfo
        with:
          token: rest.token
          file: rest.file
          external_id: rest.external_id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: files-info-mcp
    port: 9090
    transport: http
    description: MCP adapter for Slack Files API — Info. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: slack-get-files-info
      description: Slack Get Files Info
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: files-info.getfilesinfo
      with:
        token: tools.token
        file: tools.file
        count: tools.count
        page: tools.page
        limit: tools.limit
        cursor: tools.cursor
      outputParameters:
      - type: object
        mapping: $.
    - name: slack-get-files-remote-info
      description: Slack Get Files Remote Info
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: files-info.getfilesremoteinfo
      with:
        token: tools.token
        file: tools.file
        external_id: tools.external_id
      outputParameters:
      - type: object
        mapping: $.