update_own_message
Stage an edit to your own Slack message. View a visual diff of the original and proposed text, then confirm to apply the update.
Instructions
Stage an edit to one of your own messages. Does NOT update until confirm_send is called.
Fetches the current message text up front so the draft preview shows BOTH the BEFORE and AFTER strings — a visual diff in plain Python. After confirm_send, the message is edited in place via chat.update.
Returns a draft_id, the resolved workspace + channel + target_ts,
and a preview dict with before, after, target_ts. Drafts
expire after 1 hour and can only be confirmed once.
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": {
"channel": "<channel>",
"ts": "<ts>",
"text": "<text>"
},
"name": "update_own_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ts | Yes | ||
| text | Yes | ||
| channel | Yes | ||
| workspace | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||