update_message
Correct or modify a bot message by providing its ID and the new plaintext content.
Instructions
Update a bot message.
Replaces the content of an existing bot message. Only messages sent by the bot can be updated (use user_send_message for user messages).
Args: update_message_id: Message ID to update content_message: New content (plaintext)
Returns: JSON string — server confirmation.
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": {
"update_message_id": "<update_message_id>",
"content_message": "<content_message>"
},
"name": "update_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content_message | Yes | ||
| update_message_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |