List templates
flow_list_templatesMessage templates of a channel with their status, sender and variables. Only LIVE templates can be sent. A WhatsApp template's variables name each value a send fills in (source contact, fallback, or send for an authentication code); a carousel is listed with its card count, flow_get_template shows the cards.
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": {
"channel": "<channel>"
},
"name": "flow_list_templates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 1-based page number | |
| status | No | ||
| channel | Yes | ||
| archived | No | Archived templates instead of current ones; an archived template is never sent | |
| pageSize | No | Rows per page, 1 to 50 | |
| senderId | No | Only templates of this sender (ids from flow_list_senders) |