export_graphics
Export Mathematica graphics expressions to image files in formats like PNG, PDF, or SVG. Provide the expression and file path to generate the output.
Instructions
Export a graphics expression to an image file.
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": {
"expression": "<expression>",
"path": "<path>"
},
"name": "export_graphics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| size | No | ||
| format | No | PNG | |
| expression | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |