Get Selection
get_selectionList the nodes currently selected in a Maya scene, optionally including shape nodes for each selected transform.
Instructions
List the currently selected nodes.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_selection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_key | No | Target Maya session. | |
| include_shapes | No | Include the shape node of each selected transform. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||