Clear a draft
clear_draftClear the draft message in a specified Telegram chat, removing any saved text by setting the draft to empty.
Instructions
Equivalent to save_draft with an empty text.
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": {
"peer": "<peer>"
},
"name": "clear_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| peer | Yes | ||
| accountId | No |