edit_message
Modify previously sent bot messages to update text, images, or interactive elements like buttons and carousels for accurate communication.
Instructions
Edit a previously sent bot message
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": {
"messageId": "<messageId>"
},
"name": "edit_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| messageId | Yes | ID of the message to edit | |
| type | No | text | |
| text | No | New text content | |
| buttons | No |