edit_message
Modify the text or entities of an existing outgoing Telegram message, with an AI signature added by default; append [nosig] to omit it.
Instructions
Edit the text or entities of an existing outgoing message. Appends an AI attribution signature by default; place [nosig] at the very end of the text to omit 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": {
"chat": "<chat>",
"message_id": "<message_id>",
"text": "<text>"
},
"name": "edit_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | Target chat reference (canonical ID, `@username`, or `"me"`). | |
| text | Yes | Replacement message text (optionally ending with `[nosig]` to suppress AI signature). | |
| message_id | Yes | ID of the outgoing message to edit. | |
| parse_mode | No | Input formatting mode (`markdown`, `plain`, or `html`; default `markdown`). |