DELETE
/
tools
/
{tool_id}
curl --request DELETE \
  --url https://agent-prod.studio.lyzr.ai/v3/tools/{tool_id} \
  --header 'x-api-key: <api-key>'
{
  "message": "Tool deleted successfully."
}

Description

This endpoint deletes a tool permanently.

Endpoint

DELETE /v3/tools/{tool_id}

Authentication

API Key (x-api-key) must be included in the header.

Path Parameters

  • tool_id (string) - The ID of the tool to delete.

Response

A message confirming that the tool was deleted.

Example Request

curl -X DELETE "https://agent-prod.studio.lyzr.ai/v3/tools/tool_id" ^
-H "accept: application/json" ^
-H "x-api-key: sk-default-EXAMPLEKEY123"

Authorizations

x-api-key
string
header
required

Path Parameters

tool_id
string
required

The ID of the tool to delete.

Response

200
application/json

Tool deleted successfully

The response is of type object.