List templates
list_templatesList JamFrame templates: the connected workspace's own (source "workspace") and the shared template library (source "library"); both can be rendered. Each has its size, page count, whether it is animated (render it as mp4 to see the motion) and its render parameters: the keys render_template accepts in modifications (type text, image, video, audio, qr, shape or variable, and the pages each key is on). Use get_template for one template's pages and an example request.
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 |
|---|---|---|---|
| limit | No | Page size, 20 by default | |
| query | No | Only templates whose name contains this text, e.g. "carousel" or "quote" | |
| cursor | No | nextCursor from the previous page | |
| source | No | "workspace" (the user's own templates), "library" (ready-made templates) or "all" (default: workspace first, then library) |