> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kylon.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Execute Tool

> Execute a specific tool. The system automatically determines which backend to use.



## OpenAPI

````yaml POST /proxy/tools/execute
openapi: 3.1.0
info:
  title: Kylon Tools API
  description: >-
    Kylon Tools API for searching, authenticating, inspecting, executing,
    proxying, and uploading files for connected tools.
  version: 1.0.0
servers:
  - url: https://api.kylon.io
    description: Production
security:
  - apiKey: []
paths:
  /proxy/tools/execute:
    post:
      tags:
        - Execution
      summary: Execute tool
      description: >-
        Execute a specific tool. The system automatically determines which
        backend to use.
      operationId: executeTool
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                tool:
                  type: string
                  description: Tool slug (from toolkit details).
                arguments:
                  type: object
                  additionalProperties: true
                  description: Tool-specific arguments.
                connection_id:
                  type: string
                  description: >-
                    Specify which connection to use. Required if multiple
                    connections exist for the same toolkit.
              required:
                - tool
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExecutionResult'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  schemas:
    ExecutionResult:
      type: object
      properties:
        data:
          description: Tool execution result data.
        error:
          type:
            - string
            - 'null'
          description: Error message if execution failed.
        successful:
          type: boolean
      required:
        - data
        - error
        - successful
    Error:
      type: object
      properties:
        error:
          type: string
      required:
        - error
  responses:
    BadRequest:
      description: Bad request
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: Unauthorized - invalid or missing API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        API key for authentication. Can also be passed as `Authorization: Bearer
        <token>`.

````