preview_template
Inspect template markup, styles, and data schema before generating documents to understand required fields and structure.
Instructions
Get the full markup, styles, and data schema of a template. Use this to inspect a template before generating a document. The schema shows which data fields the template expects. Sample data (if available) shows example values for each field.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"template_id": "<template_id>"
},
"name": "preview_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| template_id | Yes | The template ID to preview. Get IDs from list_templates. |