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

# List Test Tools

> The tool ids a test can reference for this agent.



## OpenAPI

````yaml get /v1/agent/agents/{agent_id}/test-tools
openapi: 3.1.0
info:
  title: FishAudio OpenAPI
  version: '1'
servers:
  - description: Fish Audio API
    url: https://api.fish.audio
security: []
tags: []
paths:
  /v1/agent/agents/{agent_id}/test-tools:
    get:
      tags:
        - Agent Tests
      summary: List Test Tools
      description: |-
        The tools a test can reference for this agent, exactly what a
        conversation on its draft offers. Use these ids in a test's tool mocks,
        assertions and `referenced_tool`, including integration tools such as
        `google_calendar:create_event`.
      parameters:
        - in: path
          name: agent_id
          description: ''
          required: true
          schema:
            title: Agent Id
            type: string
          deprecated: false
      responses:
        '200':
          description: Request fulfilled, document follows
          headers: {}
          content:
            application/json:
              schema:
                properties:
                  tools:
                    items:
                      $ref: '#/components/schemas/PublicAgentTestTool'
                    title: Tools
                    type: array
                required:
                  - tools
                type: object
        '401':
          description: No permission -- see authorization schemes
          headers: {}
          content:
            application/json:
              schema:
                properties:
                  status:
                    title: Status
                    type: integer
                  message:
                    title: Message
                    type: string
                  reason:
                    anyOf:
                      - type: string
                      - type: 'null'
                    default: null
                    title: Reason
                required:
                  - status
                  - message
                type: object
        '404':
          description: Nothing matches the given URI
          headers: {}
          content:
            application/json:
              schema:
                properties:
                  status:
                    title: Status
                    type: integer
                  message:
                    title: Message
                    type: string
                  reason:
                    anyOf:
                      - type: string
                      - type: 'null'
                    default: null
                    title: Reason
                required:
                  - status
                  - message
                type: object
        '503':
          description: The server cannot process the request due to a high load
          headers: {}
          content:
            application/json:
              schema:
                properties:
                  status:
                    title: Status
                    type: integer
                  message:
                    title: Message
                    type: string
                  reason:
                    anyOf:
                      - type: string
                      - type: 'null'
                    default: null
                    title: Reason
                required:
                  - status
                  - message
                type: object
      security:
        - BearerAuth: []
components:
  schemas:
    PublicAgentTestTool:
      properties:
        id:
          description: >-
            The id to reference in tests. Webhook and client tools use their
            tool id, integration tools use <provider_key>:<tool_name>.
          title: Id
          type: string
        name:
          title: Name
          type: string
        type:
          enum:
            - webhook
            - client
            - integration
          title: Type
          type: string
        description:
          default: ''
          title: Description
          type: string
        provider_key:
          anyOf:
            - type: string
            - type: 'null'
          default: null
          description: The integration provider, integration tools only.
          title: Provider Key
        writes:
          default: false
          description: >-
            An integration tool that changes data. It cannot run for real in a
            test.
          title: Writes
          type: boolean
        has_own_mock:
          default: false
          description: >-
            The tool answers from its own mock when a simulation mocks every
            tool and the test has no entry for it.
          title: Has Own Mock
          type: boolean
        expects_response:
          default: true
          description: >-
            False for a client tool that does not wait for an answer, which
            cannot be mocked.
          title: Expects Response
          type: boolean
        available_on_phone:
          default: true
          description: >-
            False for client tools, which need a client and never run on phone
            calls.
          title: Available On Phone
          type: boolean
      required:
        - id
        - name
        - type
      title: PublicAgentTestTool
      type: object
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.