> ## 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.

# Delete Tool

> Delete a tool.



## OpenAPI

````yaml delete /v1/agent/tools/{tool_id}
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/tools/{tool_id}:
    delete:
      tags:
        - Agent Tools
      summary: Delete Tool
      description: >-
        Delete a tool. Returns 409 while any agent's draft configuration still

        references it — check `GET /v1/agent/tools/{tool_id}/agents` and detach
        it

        via the agent config first, so a delete can never silently change agent

        behavior.
      parameters:
        - in: path
          name: tool_id
          description: ''
          required: true
          schema:
            title: Tool Id
            type: string
          deprecated: false
      responses:
        '204':
          description: Request fulfilled, nothing follows
          headers: {}
        '401':
          description: No permission -- see authorization schemes
          headers: {}
          content:
            application/json:
              schema:
                properties:
                  status:
                    title: Status
                    type: integer
                  message:
                    title: Message
                    type: string
                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
                required:
                  - status
                  - message
                type: object
        '409':
          description: Request conflict
          headers: {}
          content:
            application/json:
              schema:
                properties:
                  status:
                    title: Status
                    type: integer
                  message:
                    title: Message
                    type: string
                required:
                  - status
                  - message
                type: object
      security:
        - BearerAuth: []
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````