compile_latex
Compile the LaTeX project in a specified directory into a PDF using Tectonic, returning the output PDF path and compiler logs.
Instructions
Compile main.tex in project_dir with Tectonic.
pdf_path is None if compilation failed to produce a PDF. log_text always
contains the full compiler output so the caller can diagnose and fix the
source before retrying.
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": {
"project_dir": "<project_dir>"
},
"name": "compile_latex"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_dir | Yes |