Edit own chat message
chat_editEdit from the widget. Widget 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": {
"hub": "<hub>",
"id": "<id>",
"body": "<body>"
},
"name": "chat_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | message id | |
| hub | Yes | hub key | |
| body | Yes | the new text |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| seq | Yes | ||
| via | Yes | ||
| body | No | ||
| kind | Yes | ||
| mine | No | ||
| emoji | No | ||
| files | Yes | ||
| author | Yes | ||
| deleted | No | ||
| sticker | No | ||
| reply_to | No | ||
| author_id | No | ||
| edited_at | No | ||
| created_at | Yes |