mathmagic_set_style
Create a named MathMagic StyleSet with custom fonts, back up the previous default, set it active, and verify rendering with a probe.
Instructions
Create a StyleSet (font for text/function/variable/vector/number, base size pt, italic variables) from the current default, back up the old default as a StyleSet, make it MathMagic's default and verify with a probe render.
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": {
"name": "<name>"
},
"name": "mathmagic_set_style"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| font | No | Main font family | |
| name | Yes | StyleSet name | |
| confirm | No | Must be true to make changes | |
| size_pt | No | ||
| overwrite | No | Replace a StyleSet with the same name | |
| greek_font | No | Font for Greek | |
| number_font | No | Font for numbers | |
| make_default | No | Default true | |
| variable_font | No | Font for variables | |
| variable_italic | No | Italic variables |