create_object
Creates Maya objects by type—including primitives, cameras, and lights—and returns the new object's name for immediate scene use.
Instructions
Create a Maya object. object_type: cube, sphere, plane, cylinder, cone, torus, camera, point_light, directional_light, spot_light. Returns the created object name.
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": {
"object_type": "<object_type>"
},
"name": "create_object"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| object_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |