List Templates
list-templatesLists email templates with pagination and filters by project, folder, or purpose. Use it to find template names and slugs before sending a template-based email.
Instructions
Purpose: List email templates with pagination. Returns template names, slugs, and project info.
Returns: Paginated list of templates with id, name, slug, project_id, folder_id, purpose, preparation status and timestamps.
When to use:
User asks "show my templates", "what templates do I have?"
Before sending a template-based email, to find the template slug
Filter by purpose=campaign to find templates a campaign can actually use
Filter by folder_id to reconcile a bulk import in one call instead of one get-template per template
Use get-template for full details of a specific template
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 |
|---|---|---|---|
| page | No | Page number. Default: 1 | |
| purpose | No | Only return templates of this purpose. Use campaign to find templates that a campaign can send. | |
| per_page | No | Number of results per page (1-100). Default: 25 | |
| folder_id | No | Only return templates in this folder. A folder outside the resolved project is an error, not an empty list, so a wrong id cannot be misread as "nothing there yet". Use list-folders to find one. | |
| project_id | No | Project ID to filter templates. If not provided, uses the team's default project. |