Change a chat message
update-chat-messageUpdate a Gamemaster's chat message content or flavor without changing its audience. Ideal for editing or reflavoring existing messages in Foundry VTT.
Instructions
Change the content or flavor of a chat message written by the Gamemaster the bridge runs as. Who sees the message does not change; send a new message for other recipients.
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": "update-chat-message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flavor | No | New flavor; an empty text removes it | |
| content | No | New content, HTML allowed | |
| messageId | Yes | Id of the message |