components_v2_send_from_template
components_v2_send_from_template
Section titled “components_v2_send_from_template”Category: components_v2
Apply variables to a built-in V2 template and send the result.
When to use
Section titled “When to use”When NOT to use
Section titled “When NOT to use”| Field | Type | Required | Description |
|---|---|---|---|
channel_id | string | yes | Discord channel ID (snowflake) |
template | string | yes | Built-in template name |
vars | object | yes | Variable substitutions for {{…}} placeholders |
Returns
Section titled “Returns”\{message_id, jump_url, template\}.
Output schema
Section titled “Output schema”| Field | Type | Required | Description |
|---|---|---|---|
message_id | string | yes | Discord message ID |
channel_id | string | yes | Discord channel ID (snowflake) |
jump_url | string | yes | |
template | string | yes |
Annotations
Section titled “Annotations”| Property | Value |
|---|---|
| Read-only | no |
| Destructive | no |
| Idempotent | no |
| Open-world | yes |
| Confirmation required | no |
Source
Section titled “Source”packages/mcp-core/src/tools/components-v2/send-from-template.ts