Delete an agent tool
delete_toolDelete an account's webhook tool. Returns the agents that had it enabled - it stops working for them from that point on, the agent stays in place and can still talk. Unlike releasing a phone number, this loss is reversible: the same tool can be recreated any time via create_tool (it just gets a new id, which then needs to be reassigned to agents via update_agent). Same data as DELETE /v1/tools/{id} (response schema in /openapi.json).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "delete_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Id of the webhook tool to delete, from list_tools. Looks like tl_9f3a2b7c4d1e. |