Delete a bot
delete_botPermanently delete a bot: its chat stops working on the website and Telegram, and its knowledge, conversations and leads are deleted. This cannot be undone. Only call this after the user has clearly confirmed, and send confirm: true.
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": {
"bot_id": "<bot_id>",
"confirm": "<confirm>"
},
"name": "delete_bot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bot_id | Yes | The bot id, like b_AbC123xyz789 (from create_bot or list_my_bots). | |
| confirm | Yes | Must be true: the user confirmed they want this bot deleted for good. | |
| edit_key | No | The bot's edit key, like bsk_… (from create_bot). Not needed when the user is signed in and the bot is in their account. Keep it private. |