pdf_template_config_preview
Generate an HTML preview of a PDF template with sample invoice data to see how it looks before saving configuration changes.
Instructions
Generate an HTML preview of a PDF template with sample invoice data. Use this to preview how a template will look before saving configuration changes.
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": "pdf_template_config_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| companyId | No | Company UUID (overrides configured default) | |
| fontFamily | No | Font family to preview (e.g., "Roboto") | |
| primaryColor | No | Primary color to preview in hex format (e.g., "#6366f1") | |
| templateSlug | No | Template design to preview (default: classic) |