List templates
list_templatesLists the templates of the workspace this server works in (the one chosen at sign-in, or the API key's), most recently changed first: id, slug, name, kind (pdf, image, docx for Word, pptx for PowerPoint), engine, tags and published_version. Call it first to find the slug that get_template_schema, validate_template and render take; skip it when the user already named the template. Returns every match in one answer, without archived templates, and an empty list when nothing matches. A template whose published_version is null has never been published, so render cannot use it yet. Read-only and free.
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 | Text to find in the name or slug, case-insensitive (e.g. invoice) | |
| tag | No | Only templates with this tag; exact match, tags are lowercase with dashes (e.g. billing) | |
| kind | No | Only templates that produce this kind of document | |
| engine | No | Only templates written in this template language |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| templates | Yes |