Compile LaTeX
compileCompile a .tex file using latexmk or pdflatex, returning parsed errors. If no TeX engine is installed, provides guidance on how to proceed.
Instructions
Compiles a .tex file with latexmk/pdflatex if a TeX engine is installed, and returns parsed errors. Returns available:false with guidance if no engine is found.
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": {
"path": "<path>"
},
"name": "compile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the .tex file to compile | |
| engine | No | Preferred engine (default latexmk) |