edit_chat_message
AccountHub chat: fix the text of ONE of your own messages (one-to-one or group chat; a group chat is a shared project), within 15 minutes of sending it — NOT Slack, Gmail or Chatwork. Before calling, show the user the new text and get their OK. Everyone in the chat then sees the new text marked as edited (read_chat returns edited_at); the old text is shown to nobody. Notifications already delivered and what other AIs already read do not change, and nobody is notified again. Refused (nothing changed) with chat_edit_expired after 15 minutes — send the corrected text as a new message with send_chat_message instead — chat_edit_withdrawn if it was unsent, and chat_edit_not_allowed for someone else's message, a decision / question / to-do, a system line, a forwarded copy or a photo-only message. Attachments cannot be added or removed. Trial users only.
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": {
"item_id": "<item_id>",
"text": "<text>"
},
"name": "edit_chat_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The whole corrected text (replaces the old text; the first line becomes the preview). Cannot be empty — to remove a message, it must be unsent in the app instead. Attachments stay as they are. | |
| item_id | Yes | item_id of YOUR OWN message to fix (from read_chat, is_you: true). |