List templates
list_templatesList templates visible to the caller: the curated makesPDF library and the caller's own saved templates. Returns metadata only (no DSL), one page at a time. Mirrors GET /api/v1/templates.
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 |
|---|---|---|---|
| q | No | Free text matched as a case-insensitive substring against template names and descriptions. | |
| tags | No | Comma-separated tags; a template must carry every one to match, e.g. 'receipt,retail'. The `tags` field of earlier results shows the values in use. | |
| limit | No | Page size: how many templates to return. | |
| owner | No | Whose templates to list: 'mine' for templates you saved, 'library' for the curated makesPDF catalog, 'all' for both. | all |
| offset | No | How many matching templates to skip, for paging. Add `limit` to it to fetch the next page. | |
| category | No | Document type to match exactly. Library templates use 'certificate', 'civic', 'form', 'invoice', 'letter', 'packing-slip', 'quote', 'receipt', 'report', 'resume', 'shipping-label' and 'statement'; your own templates may use others, shown in the `category` field of earlier results. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | Yes | Page size used. | |
| total | Yes | Matching templates across all pages. | |
| offset | Yes | Offset used. | |
| templates | Yes | One page of matching templates, metadata only. |