render_parameter_grid
Generate HTML comparison pages showing how different parameter values affect LaTeX equations by substituting values into templates with placeholders.
Instructions
Render a parameterized equation across a grid of values, producing an HTML comparison page. Useful for exploring how changing coefficients affects formulas. Use {PARAM} as placeholder in the LaTeX template.
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": {
"latexTemplate": "<latexTemplate>",
"values": "<values>"
},
"name": "render_parameter_grid"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| latexTemplate | Yes | LaTeX with {PARAM} placeholder(s) (e.g., '\\frac{1}{1+{PARAM}s}') | |
| paramName | No | Placeholder name in the template | PARAM |
| values | Yes | Array of values to substitute (e.g., ['0.1', '0.5', '1', '2', '10']) | |
| saveTo | No | File path to save HTML grid |