export_all_graphs
Export all graphs in an Origin Pro project to image files (PNG, JPG, TIF, BMP) into a specified output directory.
Instructions
Export every graph in the project to image files (one per graph).
Uses the same clipboard-based export as export_graph, so the Windows clipboard contents are replaced during export.
Args: output_dir: Output directory (Windows or WSL style). Created if missing. format: Image format: png, jpg, tif, bmp dpi: Unused (kept for API compatibility; size determined by Origin page) width: Unused (kept for API compatibility) height: Unused (kept for API compatibility)
Returns: Per-graph list of exported files
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": {
"output_dir": "<output_dir>"
},
"name": "export_all_graphs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output_dir | Yes | ||
| format | No | png | |
| dpi | No | ||
| width | No | ||
| height | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |