Composio · Capability

Composio Platform API — Execution

Composio Platform API — Execution. 1 operations. Lead operation: Execute tool. Self-contained Naftiko capability covering one Composio business surface.

Run with Naftiko ComposioExecution

What You Can Do

POST
Posttoolsexecutebytoolslug — Execute tool
/v1/api/v3/tools/execute/{tool-slug}

MCP Tools

execute-tool

Execute tool

Capability Spec

composio-execution.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Composio Platform API — Execution
  description: 'Composio Platform API — Execution. 1 operations. Lead operation: Execute tool. Self-contained Naftiko capability
    covering one Composio business surface.'
  tags:
  - Composio
  - Execution
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    COMPOSIO_API_KEY: COMPOSIO_API_KEY
capability:
  consumes:
  - type: http
    namespace: composio-execution
    baseUri: https://backend.composio.dev
    description: Composio Platform API — Execution business capability. Self-contained, no shared references.
    resources:
    - name: api-v3-tools-execute-tool_slug
      path: /api/v3/tools/execute/{tool_slug}
      operations:
      - name: posttoolsexecutebytoolslug
        method: POST
        description: Execute tool
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: tool_slug
          in: path
          type: string
          description: The tool slug to execute
          required: true
        - name: x-llm-gateway-headers
          in: header
          type: string
        - 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-execution-rest
    port: 8080
    description: REST adapter for Composio Platform API — Execution. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/api/v3/tools/execute/{tool-slug}
      name: api-v3-tools-execute-tool-slug
      description: REST surface for api-v3-tools-execute-tool_slug.
      operations:
      - method: POST
        name: posttoolsexecutebytoolslug
        description: Execute tool
        call: composio-execution.posttoolsexecutebytoolslug
        with:
          tool_slug: rest.tool_slug
          x-llm-gateway-headers: rest.x-llm-gateway-headers
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: composio-execution-mcp
    port: 9090
    transport: http
    description: MCP adapter for Composio Platform API — Execution. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: execute-tool
      description: Execute tool
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: composio-execution.posttoolsexecutebytoolslug
      with:
        tool_slug: tools.tool_slug
        x-llm-gateway-headers: tools.x-llm-gateway-headers
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.