Set the TeX engine
set_project_compilerSet the TeX engine a project builds with: pdflatex, xelatex or lualatex. Documents that load fontspec, unicode-math, polyglossia or xeCJK (system fonts, non-Latin scripts) need xelatex or lualatex, and documents that use \directlua or luacode need lualatex. letX picks an engine when a project is created. Use when the user asks for a different engine or the document needs one.
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_id": "<project_id>",
"compiler": "<compiler>"
},
"name": "set_project_compiler"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compiler | Yes | pdflatex, xelatex or lualatex | |
| project_id | Yes | the project's id |