Submit a WhatsApp template
submit_whatsapp_templateSubmits a stored draft for a number this account owns. Omitted confirm returns a preview on every client and does not submit. confirm true submits it. This does not charge the wallet.
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>",
"draft_id": "<draft_id>"
},
"name": "submit_whatsapp_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| name | No | ||
| did_id | Yes | ||
| footer | No | ||
| buttons | No | ||
| confirm | No | Omitted returns a preview on every client. True submits the draft. Nothing is charged. | |
| draft_id | Yes | ||
| examples | No | ||
| header_text | No |