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

# Get Tool

> Retrieve details about a specific tool.



## OpenAPI

````yaml /api-reference/openapi.json get /tools/{tool_id}
openapi: 3.1.0
info:
  title: Truedy API
  description: >-
    Truedy Public API - Build voice AI agents and make automated phone calls.


    ## Authentication

    All requests require **Authorization: Bearer <your_api_key>**.

    Get your API key from the [Truedy Dashboard](https://app.truedy.ai).


    ## Response Format

    All successful responses follow this format:

    ```json

    {
      "data": { /* resource or list of resources */ },
      "meta": {
        "request_id": "req_xxx",
        "ts": "2026-03-03T20:30:21.310278Z"
      },
      "pagination": { /* optional, for list endpoints */ }
    }

    ```


    ## Error Handling

    Errors return appropriate HTTP status codes with structured error messages.
    Always check the `error` field in the response body for details.
  version: 1.0.0
servers:
  - url: https://api.truedy.ai/api/public/v1
    description: Truedy Public API
security:
  - BearerAuth: []
paths:
  /tools/{tool_id}:
    get:
      tags:
        - Tools
      summary: Get Tool
      description: Retrieve details about a specific tool.
      operationId: get_tool
      parameters:
        - name: tool_id
          in: path
          required: true
          description: Tool ID
          schema:
            type: string
      responses:
        '200':
          description: Tool details
          content:
            application/json:
              schema:
                type: object
                required:
                  - data
                  - meta
                properties:
                  data:
                    $ref: '#/components/schemas/ToolResponse'
                  meta:
                    $ref: '#/components/schemas/ResponseMeta'
              example:
                data:
                  id: tool_p1q2r3s4
                  name: Book Appointment
                  type: http
                  description: Books an appointment in the CRM calendar
                  url: https://api.example.com/appointments
                  method: POST
                  headers:
                    Content-Type: application/json
                    X-API-Key: '{{api_key}}'
                  body_template: '{"name": "{{contact_name}}", "time": "{{appointment_time}}"}'
                  timeout_seconds: 10
                  created_at: '2026-03-10T08:00:00Z'
                  updated_at: '2026-04-01T12:00:00Z'
                meta:
                  request_id: req_32e7531c
                  ts: '2026-04-05T10:22:00Z'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Tool not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Rate limit exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    ToolResponse:
      type: object
      required:
        - id
        - name
        - status
        - created_at
      properties:
        id:
          type: string
          description: Unique tool identifier
          example: tool_p1q2r3s4
        name:
          type: string
          description: Display name of the tool
          example: Weather API Tool
        definition:
          description: Full tool definition with HTTP config, parameters, etc.
          example:
            type: http
            method: GET
            base_url: https://api.weather.com
          type:
            - object
            - 'null'
        status:
          type: string
          description: Tool status
          example: active
        created_at:
          type: string
          format: date-time
          description: When the tool was created
          example: '2026-03-03T20:30:21.310278Z'
        updated_at:
          format: date-time
          description: When the tool was last updated
          example: '2026-03-03T20:30:21.310278Z'
          type:
            - string
            - 'null'
    ResponseMeta:
      type: object
      required:
        - request_id
        - ts
      properties:
        request_id:
          type: string
          description: Unique request identifier for debugging and support
          example: req_32e7531c-8
        ts:
          type: string
          format: date-time
          description: Server timestamp when the response was generated
          example: '2026-03-03T20:30:21.310278Z'
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
              description: Error code
              example: not_found
            message:
              type: string
              description: Human-readable error message
              example: The requested resource does not exist
            details:
              description: Additional error context
              example:
                resource: agent
                id: agt_invalid
              type:
                - object
                - 'null'
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: >-
        API key authentication. Include your API key in the Authorization
        header: Bearer <your_api_key>

````