Skip to content

components_v2_send_from_template

Category: components_v2

Apply variables to a built-in V2 template and send the result.

FieldTypeRequiredDescription
channel_idstringyesDiscord channel ID (snowflake)
templatestringyesBuilt-in template name
varsobjectyesVariable substitutions for {{…}} placeholders

\{message_id, jump_url, template\}.

FieldTypeRequiredDescription
message_idstringyesDiscord message ID
channel_idstringyesDiscord channel ID (snowflake)
jump_urlstringyes
templatestringyes
PropertyValue
Read-onlyno
Destructiveno
Idempotentno
Open-worldyes
Confirmation requiredno

packages/mcp-core/src/tools/components-v2/send-from-template.ts