compile
Build a LaTeX project to receive structured diagnostics: a verdict, errors with file/line details, and suggested fixes.
Instructions
Compile the project and return structured diagnostics. Returns a verdict, plus errors with file/line and suggested fixes. Does NOT return the PDF itself (it would flood your context) — use get_pdf if you need the bytes. Check verdict first: if it says BLOCKED, the server environment is at fault and retrying will not help.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compiler | No | ||
| projectId | Yes | ||
| timeoutSec | No | Default 180, server max 600 | |
| rootResourcePath | No | Defaults to main.tex |