execute_maya_code
Run literal Maya commands to list objects and relatives, check object existence, create polygon primitives, evaluate topology, and query or set transforms.
Instructions
Execute literal cmds calls for ls, listRelatives, objExists, polygon primitives, polyEvaluate and xform.
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": {
"code": "<code>"
},
"name": "execute_maya_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||