Plan reviewed Discord message attachment edit
plan_message_attachment_editPlans an exact edit of a bot-owned Discord message’s attachments by retaining IDs, removing excluded files, adding local uploads, and optionally replacing the caption or embeds before applying.
Instructions
Review the complete desired attachment set of one exact bot-owned ordinary guild message. Retain authenticated attachment IDs, remove excluded IDs, and optionally add owned local files or replace the caption. Requires separate edit capability and exact channel scope. Reads complete own-message content transiently, proves permission before file reads, preserves pinned state and suppresses new notifications. Select presentation to preserve, replace, or clear eligible authored embeds, with separately scoped embed authority and exact inline upload bindings. Remote files remain unsupported.
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": {
"channelId": "<channelId>",
"messageId": "<messageId>",
"attachments": "<attachments>",
"operationKey": "<operationKey>"
},
"name": "plan_message_attachment_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | No | ||
| channelId | Yes | ||
| messageId | Yes | ||
| attachments | Yes | ||
| operationKey | Yes | Unique one-shot operation key; keep unchanged through review and never reuse after reservation | |
| presentation | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| digest | Yes | ||
| status | Yes | ||
| target | Yes | ||
| channel | Yes | ||
| message | Yes | ||
| maxBytes | Yes | ||
| warnings | Yes | ||
| createdAt | Yes | ||
| permission | Yes | ||
| totalBytes | Yes | ||
| application | Yes | ||
| schemaVersion | Yes | ||
| writeRequired | Yes | ||
| operationKeyHash | Yes |