compile_project
Starts LaTeX project compilation and returns a job ID; poll the result endpoint to retrieve the generated PDF and build logs.
Instructions
Start compilation and return a job ID immediately. mode=auto tries Overleaf first and falls back locally for timeout/service errors. Local compilation needs latexmk and the selected engine. Poll get_compile_result for this build PDF and logs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | auto | |
| compiler | No | ||
| rootPath | No | ||
| projectId | Yes | ||
| timeoutSeconds | No |