Check the document compiles
check_documentCompile the document now with Lilia's LaTeX and say whether it compiles and prints correctly: the error (its category and the block it is in) if not, the LaTeX warnings, references to labels the document never writes (they print ??), citations with no bibliography entry (they print ?), printsCorrectly, problems: each error and warning with its block id and line, hint: what to change when the error has a common cause (a TikZ library to load), and pages: how many pages the PDF export_document gives has (pagesNote says when it could only be counted on one LaTeX pass, which can differ). Takes a few seconds; the PDF is then ready to export at once. It does not change the document or its saved validation.
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": {
"documentId": "<documentId>"
},
"name": "check_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| documentId | Yes | The document id. |