Create Polygon Primitive
modeling.create_polygon_primitiveCreate polygon primitives (cube, sphere, cylinder, cone, torus, plane) with configurable dimensions, subdivisions, and up axis. Generate base geometry for 3D modeling tasks.
Instructions
Create a polygon primitive (cube, sphere, cylinder, cone, torus, plane) with configurable dimensions, subdivisions, and axis.
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": {
"primitive_type": "<primitive_type>"
},
"name": "modeling.create_polygon_primitive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| axis | No | Up axis for the primitive | y |
| name | No | Optional name for the transform node | |
| depth | No | Depth (cube) | |
| width | No | Width (cube/plane) | |
| height | No | Height (cube/cylinder/cone/plane) | |
| radius | No | Radius (sphere/cylinder/cone/torus) | |
| primitive_type | Yes | Type of primitive to create | |
| subdivisions_axis | No | Axis subdivisions (sphere/cylinder/cone/torus) | |
| subdivisions_depth | No | Depth subdivisions | |
| subdivisions_width | No | Width subdivisions | |
| subdivisions_height | No | Height subdivisions |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shape | Yes | ||
| errors | Yes | ||
| transform | Yes | ||
| face_count | Yes | ||
| vertex_count | Yes | ||
| primitive_type | Yes | ||
| constructor_node | Yes |