Delete conversation
delete_threadDelete every message currently in a conversation, received and sent, after confirming the conversation and its full scope with the human. Each message moves to Trash and can be restored individually within seven days, after which it is permanently deleted.
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": {
"thread_id": "<thread_id>"
},
"name": "delete_thread"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| thread_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The conversation's current ID. | |
| status | Yes | ||
| message | Yes | ||
| inbox_id | Yes | ||
| sent_count | Yes | ||
| message_count | Yes | Number of messages moved to Trash. | |
| received_count | Yes |