render_network
Render the simulated ventilation network to an interactive SVG: plan or section views, airway colors by any numeric field, line width by airflow, and magenta highlighting of traced airways.
Instructions
Draw the airways of the simulated stage to an SVG file (opens in any browser). view: 'plan' (X-Y), 'section_x' (X-Z) or 'section_y' (Y-Z). color_by: any numeric airway field, e.g. 'Velocity m/s', 'Quantity', 'Pressure Branch'. Line width follows airflow, fans are circles, airways in 'highlight' (Unique No, e.g. from trace_airflow) are drawn on top in magenta. Hover an airway for its values. Never overwrites a 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": {
"path": "<path>",
"out_path": "<out_path>"
},
"name": "render_network"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| view | No | plan | |
| color_by | No | Velocity m/s | |
| out_path | Yes | ||
| width_px | No | ||
| highlight | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |