List Templates
list_templatesList stored templates with filters for ID, category, origin, search, and versions, plus cursor pagination. Use results to find templateId or versionId for rendering, downloading, or deleting.
Instructions
List stored templates, with filters and pagination. Each result has an id (Template ID; null for a template uploaded with versioning: false) and a versionId: pass either as templateId to render_document, download_template or delete_template. Each result lists its tags: to find templates by tag, keep the results whose tags include it.
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 |
|---|---|---|---|
| id | No | Filter by Template ID. Cannot be a Version ID. | |
| limit | No | 1 to 100 results (default 100); use cursor for more. | |
| cursor | No | The nextCursor of the previous response. | |
| origin | No | Upload origin: 0 API (this server), 1 Carbone Studio, 2 Salesforce, 3 Odoo, 4 HubSpot. | |
| search | No | Fuzzy search in template names, or exact match on Template ID / Version ID. | |
| category | No | Filter by category (e.g. "invoices", "legal"). | |
| versionId | No | Filter by Version ID (SHA-256 format). | |
| includeVersions | No | If true, returns all versions for each template. Default: false (only deployed version). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hasMore | Yes | Whether more results are available via the cursor. | |
| templates | Yes | The matching templates (all fields). | |
| nextCursor | No | Cursor to pass to the next list_templates call. |