Skip to main content
DELETE
/
v1
/
tools
/
{id}
Delete a custom tool
curl --request DELETE \
  --url https://api.pyai.com/v1/tools/{id} \
  --header 'Authorization: Bearer <token>'
{
  "object": "tool.deleted",
  "tool_id": "<string>",
  "deleted": true
}

Authorizations

Authorization
string
header
required

Use Authorization: Bearer pyai_live_... (or pyai_test_...).

Path Parameters

id
string
required

Response

Deletion confirmation

object
string
Example:

"tool.deleted"

tool_id
string
deleted
boolean
Example:

true