Edit a queued message
edit_queued_messageUse this when the user wants to change one message that has not gone out yet: its subject, its body, or when it is sent. The edit makes a new message with a new id and marks the old one as replaced. A message that already went out, or was skipped or declined, is refused. Free.
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": {
"sendId": "<sendId>"
},
"name": "edit_queued_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | A new message, up to 20,000 characters, sent as written: tokens such as `{Contact First Name}` are filled in when a step's message is written, not in an edit. | |
| sendId | Yes | The queued message's `id`, as the campaign's queue lists it. | |
| subject | No | A new subject line, up to 500 characters. | |
| scheduledAt | No | When to send it instead, as an ISO 8601 date-time in UTC. |