Compile a project PDF
compile_pdfCompile a PDF from server-saved project files using the project's compiler settings and an explicit entry .tex path. Use when the user asks to compile or needs a current PDF, not automatically after every source edit. Requires compile:run and Owner/Editor access. Reuses identical cached PDFs or active jobs, otherwise queues a new job under existing limits. Returns immediately without waiting for compilation. Use read_pdf with the returned jobId for progress and the PDF. Creates a job/artifact and history checkpoints without changing source files or deleting previous artifacts; no public publication or external recipients.
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": {
"projectId": "<projectId>",
"path": "<path>"
},
"name": "compile_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Project-relative entry .tex path, such as main.tex. | |
| projectId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | ||
| status | Yes | ||
| message | Yes | ||
| mainPath | Yes | ||
| disposition | Yes | ||
| retryAfterSeconds | Yes |