List WhatsApp templates
list-whatsapp-templatesList WhatsApp or SMS templates via GET /v1/media-block/fetch.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list-whatsapp-templates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Set sms to list SMS templates. Omit for WhatsApp. | |
| query | No | Search text for template names | |
| per_page | No | Page size for the template list |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | JSON or plain text body returned by the Botsify HTTP API |