Check LaTeX document
check_documentDetects undefined references, duplicate/unused labels, and unbalanced environments in LaTeX. Lists labels, references, and citations, requiring no TeX installation.
Instructions
Static analysis of LaTeX source: finds undefined references, duplicate/unused labels, and unbalanced environments. Lists labels, references and citations. Works without a TeX install.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "check_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Path to a .tex file (used if source is omitted) | |
| source | No | LaTeX source to analyze |