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

# Delete custom tool

> Delete a custom tool



## OpenAPI

````yaml /api-reference/openapi/EvoAI-Core-Service/custom-tools.yaml delete /api/v1/custom-tools/{id}
openapi: 3.0.0
info:
  title: Evolution Foundation - AI Core Service - Custom Tools
  description: AI Agents, MCP tools and intelligent processing
  version: '1.0'
servers:
  - url: https://api.evoai.app
    description: Production server
  - url: http://localhost:5555
    description: Development server
    variables:
      port:
        default: '5555'
  - url: '{customUrl}'
    description: Custom server
    variables:
      customUrl:
        default: https://your-instance.com
        description: Enter your server URL
security: []
paths:
  /api/v1/custom-tools/{id}:
    delete:
      summary: Delete custom tool
      description: Delete a custom tool
      parameters:
        - description: Custom tool id
          in: path
          name: id
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Custom tool deleted successfully
          content:
            application/json:
              schema:
                $ref: be2a348c-c06b-4879-a763-0bfb9a069a68
        '400':
          description: Bad Request (invalid data)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                success: false
                error:
                  code: BAD_REQUEST
                  message: Invalid custom tool ID format
                meta:
                  timestamp: '2024-01-15T10:30:00Z'
                  path: /api/v1/custom-tools/{id}
                  method: DELETE
        '401':
          description: Unauthorized (invalid or missing token)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                success: false
                error:
                  code: UNAUTHORIZED
                  message: Invalid or missing authentication token
                meta:
                  timestamp: '2024-01-15T10:30:00Z'
                  path: /api/v1/custom-tools/{id}
                  method: DELETE
        '403':
          description: Forbidden (insufficient permissions)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                success: false
                error:
                  code: FORBIDDEN
                  message: Insufficient permissions to perform this action
                meta:
                  timestamp: '2024-01-15T10:30:00Z'
                  path: /api/v1/custom-tools/{id}
                  method: DELETE
        '404':
          description: Not Found (resource not found)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                success: false
                error:
                  code: NOT_FOUND
                  message: Custom tool not found
                meta:
                  timestamp: '2024-01-15T10:30:00Z'
                  path: /api/v1/custom-tools/{id}
                  method: DELETE
        '500':
          description: Internal Server Error (server error)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                success: false
                error:
                  code: INTERNAL_SERVER_ERROR
                  message: An unexpected error occurred
                meta:
                  timestamp: '2024-01-15T10:30:00Z'
                  path: /api/v1/custom-tools/{id}
                  method: DELETE
      security:
        - ApiAccessToken: []
components:
  schemas:
    ErrorResponse:
      type: object
      required:
        - success
        - error
      properties:
        success:
          type: boolean
          example: false
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
            message:
              type: string
        meta:
          type: object
          properties:
            timestamp:
              type: string
              format: date-time
            path:
              type: string
            method:
              type: string
  securitySchemes:
    ApiAccessToken:
      type: apiKey
      in: header
      name: api_access_token
      description: API Access Token (UUID) for authentication

````

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