draft_edit
Edit your own sent Telegram messages by proposing a change; the owner reviews old and new text on a confirmation card before the message is replaced in place.
Instructions
Propose editing one of the OWNER'S OWN messages (is_out=true). The owner confirms on a card that shows the old and the new text. Only after confirmation the message is edited in Telegram. This is the right tool when the owner dislikes a message that was already sent: one card, replaced in place. Find msg_id via outbox_list (sent_msg_id) or get_messages (lines marked [me]).
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": {
"chat_id": "<chat_id>",
"msg_id": "<msg_id>",
"new_text": "<new_text>"
},
"name": "draft_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| msg_id | Yes | ||
| reason | No | ||
| chat_id | Yes | ||
| new_text | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |