export_plot
Creates a COMSOL result plot export feature and optionally runs it to write a plot group's raw data to a file, with configurable properties and returned property details.
Instructions
Create (optionally run) a result Plot export feature.
The Plot export writes a plot group's raw data file. Available
properties are returned so agents can discover the exact ones for their
COMSOL version; property names can be passed via properties.
Args:
tag: export feature tag.
plotgroup: plot group tag to export (e.g. "pg1").
path: output file path; when given it is set with the first accepted
filename property (filename / plotfilename).
properties: extra properties for the export feature.
run: run the export immediately (default True).
model: model name/tag (None = current model).
Returns:
{"tag", "type", "properties", "ran", "path", "size", "exists"}.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "export_plot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run | No | ||
| tag | No | plot1 | |
| path | No | ||
| model | No | ||
| plotgroup | No | ||
| properties | No |