mathmagic_preview_equation
Validates LaTeX, equation marker, and size settings and returns the planned insertion steps without modifying the document, so you can check a formula before placing it in InDesign.
Instructions
Validate LaTeX/marker/size and show the planned steps. No changes.
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": {
"latex": "<latex>"
},
"name": "mathmagic_preview_equation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | offline (default; no focus change) or plugin (plugin brings windows to front) | |
| latex | Yes | LaTeX | |
| marker | No | [[MM:ID]] | |
| size_pt | No | Per-equation size in pt (menu sizes + 0.1 pt steps) |