send_template_message
Send WeChat template messages to a user by providing openid, template ID, and data; requires explicit confirmation before sending.
Instructions
发送模板消息;必须显式确认。
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": {
"openid": "<openid>",
"template_id": "<template_id>",
"data": "<data>"
},
"name": "send_template_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| data | Yes | ||
| openid | Yes | ||
| confirm | No | ||
| miniprogram | No | ||
| template_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||