validate_equations
Validate LaTeX equations in markdown files by checking syntax, reporting render errors, and flagging issues like unmatched braces or undefined commands.
Instructions
Validate all equations in a markdown file: check LaTeX syntax via UpMath, report render errors, and flag potential issues (unmatched braces, undefined commands). Slower than scan_document_math but verifies renderability.
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": {
"inputFile": "<inputFile>"
},
"name": "validate_equations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputFile | Yes | Path to markdown file | |
| maxEquations | No | Max equations to validate (API calls). Use -1 for all. |