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

# Get Tool

Get configuration details of a specific tool.

### Headers

<ParamField header="X-API-Key" type="string" required>
  Your API key for authentication.
</ParamField>

<ParamField header="X-Organization-Id" type="string" required>
  The organization ID.
</ParamField>

### Path Parameters

<ParamField path="tool_id" type="string" required>
  The unique identifier of the tool (format: `tool_[a-f0-9]{12,}`).
</ParamField>

### Permissions

* `tools:read` (all roles)

### Response

<ResponseField name="success" type="boolean">
  Indicates if the request was successful.
</ResponseField>

<ResponseField name="data" type="object">
  The full tool configuration object.

  <Expandable title="properties">
    <ResponseField name="tool_id" type="string">
      Unique tool identifier.
    </ResponseField>

    <ResponseField name="tool_name" type="string">
      Name of the tool.
    </ResponseField>

    <ResponseField name="tool_description" type="string">
      Description of what the tool does.
    </ResponseField>

    <ResponseField name="webhook_url" type="string">
      The API endpoint URL.
    </ResponseField>

    <ResponseField name="http_method" type="string">
      HTTP method: GET, POST, PUT, PATCH, or DELETE.
    </ResponseField>

    <ResponseField name="headers" type="object">
      HTTP headers to include in requests.
    </ResponseField>

    <ResponseField name="parameters" type="array">
      List of parameter definitions.
    </ResponseField>

    <ResponseField name="timeout_seconds" type="integer">
      Timeout in seconds.
    </ResponseField>

    <ResponseField name="client_id" type="string">
      Organization ID.
    </ResponseField>

    <ResponseField name="created_at" type="string">
      ISO 8601 timestamp of creation.
    </ResponseField>

    <ResponseField name="updated_at" type="string">
      ISO 8601 timestamp of last update.
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseExample>
  ```json Response theme={null}
  {
    "success": true,
    "data": {
      "tool_id": "tool_a1b2c3d4e5f6",
      "tool_name": "GetOrderStatus",
      "tool_description": "Retrieves the status of a customer order using their order ID",
      "webhook_url": "https://api.shop.com/orders/status",
      "http_method": "POST",
      "headers": {
        "Authorization": "Bearer token123"
      },
      "parameters": [
        {
          "parameter_name": "order_id",
          "parameter_type": "string",
          "parameter_description": "The unique order identifier",
          "parameter_required": true
        }
      ],
      "timeout_seconds": 30,
      "client_id": "org_abc123",
      "created_at": "2024-01-15T10:30:00Z",
      "updated_at": "2024-01-20T14:45:00Z"
    }
  }
  ```
</ResponseExample>

### Errors

<ResponseField name="404" type="object">
  Tool not found.
</ResponseField>

<ResponseField name="403" type="object">
  Tool belongs to different organization.
</ResponseField>
