Validate Template
validate_templateTest-compile a resume template against a built-in sample to confirm it renders PDFs, returns compile errors, and reports missing text or unsupported custom sections before use.
Instructions
Test-compile a template against a built-in sample resume. On success it becomes 'ready' (usable via render_pdf template_id) and a preview is available via get_rendered_pdf('template', id). On failure returns {ok: false, error} with the engine's compile error (Typst errors carry file:line:col). Returns {ok, error, parse_certified} — parse_certified is true when the template's compiled PDF round-trips through a strict text extractor with word boundaries intact, false when it drops text, null when not assessed. Also returns parse_report: {missing, headers_missing, extra_sections_supported, extra_sections_missing} — missing lists the exact sample phrases the PDF dropped; extra_sections_missing non-empty means the template will hard-fail rendering any resume that has custom sections.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| template_id | Yes |