compile_latex
Compile LaTeX documents to PDF format using pdflatex, xelatex, or lualatex engines to generate professional academic papers and technical documents.
Instructions
Compile a LaTeX file to PDF using the specified engine.
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": {
"file_path": "<file_path>"
},
"name": "compile_latex"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to the .tex file to compile | |
| engine | No | pdflatex |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| success | Yes | ||
| pdf_path | No | ||
| log_output | No | ||
| errors | No |