add_cylinder
Adds a cylinder to a COMSOL geometry sequence, defining its radius, height, position, and axis for 2D or 3D models.
Instructions
Add a cylinder to a geometry sequence.
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": {
"geom_tag": "<geom_tag>",
"dims": "<dims>",
"r": "<r>",
"h": "<h>",
"pos": "<pos>"
},
"name": "add_cylinder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| h | Yes | ||
| r | Yes | ||
| pos | Yes | ||
| tag | No | ||
| axis | No | z | |
| dims | Yes | ||
| geom_tag | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |