components_v2_edit
Edit a Discord message's interactive components while preserving its V2 state. Confirm the reviewed payload via hash and approval ID to apply the update.
Instructions
Purpose: Edit a Components V2 message previously sent by this bot. The IS_COMPONENTS_V2 flag is irreversible - V2 messages stay V2.
Returns: {message_id, channel_id, edited_timestamp}. The server first returns a bounded component review with payload_hash and one-time approval_id; run with MCP_DRY_RUN=false, __confirm:true, the exact __confirm_hash, and __confirm_id before expiry to edit once.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| __confirm | No | Authorize the exact payload supplied in this call after reviewing its summary. | |
| channel_id | Yes | Discord channel ID (snowflake) | |
| components | Yes | ||
| message_id | Yes | Discord message ID | |
| __confirm_id | No | One-time approval ID returned by the preceding preview; expires shortly. | |
| __confirm_hash | No | SHA-256 payload_hash returned by the preceding preview. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||