List templates
list_templatesRetrieve all email templates in an account, newest first, including drafts and non-API-ready templates; use pagination to browse results and inspect current draft versus published version.
Instructions
GET /templates. Lists every template in the account, newest first, including drafts and templates not set up for the API (status "draft", alias null). Content fields show the current draft; version is the published version sends use. Pagination: while has_more is true, pass the last item's id as after. Needs a full-access key. Read-only.
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_templates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | A template id. Returns templates older than it (the next page). | |
| limit | No | Number of templates to return, 1 to 100. Default 20. |