visual_view_image
Display an exported COMSOL image inline as MCP image content by loading a PNG, JPEG, BMP, GIF, or WebP file from a plot or export path, with optional downscaling to keep payloads small.
Instructions
Display an exported COMSOL image inline (PNG/JPEG/BMP/GIF/WebP).
Use the path returned by plot_export_image / plot_quick / export tools. Returns the image itself as MCP image content plus a short text summary.
Args: path: absolute path to the image file. max_width: downscale to this pixel width to keep payloads small (0 = original).
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": {
"path": "<path>"
},
"name": "visual_view_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| max_width | No |