components_v2_send_from_template
Send Discord messages from built-in V2 templates by filling variables, reviewing the payload preview, and confirming with a one-time approval.
Instructions
Purpose: Apply variables to a built-in V2 template and send the result.
Templates v1: announcement, release_notes, welcome_card, poll_results, incident_status. Each declares a variables list - pass values in vars.
Returns: {message_id, jump_url, template}. 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 send once.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vars | Yes | Variable substitutions for {{...}} placeholders | |
| template | Yes | Built-in template name | |
| __confirm | No | Authorize the exact payload supplied in this call after reviewing its summary. | |
| channel_id | Yes | Discord channel ID (snowflake) | |
| __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 | |||