Draft a WhatsApp template
draft_whatsapp_templateStores a WhatsApp template draft for a number this account owns. Pass name, category, language, and body. Category and language codes come from the config in the result. Variables look like {{1}}. Pass examples in order. Pass draft_id to replace an open draft. This does not submit the template and does not charge.
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": {
"did_id": "<did_id>"
},
"name": "draft_whatsapp_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| name | No | ||
| did_id | Yes | ||
| footer | No | ||
| buttons | No | ||
| purpose | No | ||
| category | No | A category code from the config on a draft or list result. | |
| draft_id | No | ||
| examples | No | ||
| language | No | A language code from the config on a draft or list result. | |
| components | No | ||
| header_text | No |