Edit message
messages_editEdit message
Edits the message on the platform. Needs message:edit, within the platform's edit window.
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>",
"content": "<content>"
},
"name": "messages_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | Up to the platform's `limits.characters`, or `limits.captionCharacters` when the message carries media. Longer content fails with `contentRejected`. | |
| messageId | Yes |