> ## Documentation Index
> Fetch the complete documentation index at: https://guide.omnia-voice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List agent tools

> Get all tools assigned to an agent



## OpenAPI

````yaml /openapi.yaml get /agents/{id}/tools
openapi: 3.0.0
info:
  title: Omnia Voice API
  description: >
    The Omnia Voice API allows you to programmatically manage voice agents,
    tools, phone numbers, and call logs.


    ## Authentication

    All API requests require an API key to be passed in the `X-API-Key` header.


    ## Rate Limiting

    API requests are rate limited to 1000 requests per hour per API key.
  version: 1.0.0
  contact:
    email: support@omnia-voice.com
servers:
  - url: https://api.omnia-voice.com/api/v1
    description: Production
  - url: https://dashboard.omnia-voice.com/api/v1
    description: Production (alias — same service)
security:
  - ApiKeyAuth: []
tags:
  - name: Agents
    description: Manage voice agents
  - name: Tools
    description: Manage agent tools and actions
  - name: Phone Numbers
    description: Manage phone number assignments
  - name: Calls
    description: Create and manage voice calls
  - name: Call Logs
    description: View call history and details
  - name: Pricing
    description: Get pricing information and calculate call costs
  - name: Configuration
    description: Get configuration options (voices, languages)
paths:
  /agents/{id}/tools:
    get:
      tags:
        - Tools
      summary: List agent tools
      description: Get all tools assigned to an agent
      operationId: listAgentTools
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: Agent ID
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      customTools:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                            name:
                              type: string
                            description:
                              type: string
                            modelToolName:
                              type: string
                            httpMethod:
                              type: string
                            baseUrlPattern:
                              type: string
                            type:
                              type: string
                              enum:
                                - custom
                            assignedAt:
                              type: string
                              format: date-time
                      systemTools:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                            toolName:
                              type: string
                            displayName:
                              type: string
                            description:
                              type: string
                            type:
                              type: string
                              enum:
                                - system
                            assignedAt:
                              type: string
                              format: date-time
                      totalTools:
                        type: integer
                        description: Total count of assigned tools
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Agent not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      $ref: '#/components/schemas/ValidationError'
    ValidationError:
      type: object
      description: |
        Error envelope returned by tool CRUD endpoints (`/agent-tools`,
        `/agent-tools/{id}`). The `details` field carries Zod's
        flatten() output — `formErrors` for top-level issues,
        `fieldErrors` keyed by field path for per-field issues.
      properties:
        error:
          type: string
          description: Top-level human-readable error message.
          example: Invalid request body
        details:
          type: object
          description: Field-level validation issues from the schema.
          properties:
            formErrors:
              type: array
              items:
                type: string
              description: Errors that aren't tied to a specific field.
            fieldErrors:
              type: object
              additionalProperties:
                type: array
                items:
                  type: string
              description: |
                Map of field path → list of error messages for that
                field. Field paths use dot notation for nested fields
                (e.g. `staticParameters.account_id.location`).
              example:
                baseUrlPattern:
                  - Internal URLs are not allowed
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: API key for authentication

````