Save a message draft
save_draftSave a draft message for a Telegram chat, or clear it by passing empty text.
Instructions
Save a draft for a dialog. Pass empty text to clear it.
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>",
"text": "<text>"
},
"name": "save_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| peer | Yes | ||
| text | Yes | ||
| replyTo | No | ||
| topMsgId | No | ||
| accountId | No | ||
| noWebpage | No |