render_diff
Compare LaTeX equation versions side by side by rendering them into an HTML page for visual difference analysis.
Instructions
Render two versions of a LaTeX equation side by side for visual comparison. Returns an HTML page with both versions.
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": {
"before": "<before>",
"after": "<after>"
},
"name": "render_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| before | Yes | Original LaTeX | |
| after | Yes | Modified LaTeX | |
| label | No | Label for the comparison | Equation |
| saveTo | No | File path to save HTML comparison |