get_selection
Fetch currently selected Houdini nodes, returning their paths, types, and categories. Get a selection count to enable context-aware operations.
Instructions
读取当前节点选择(add-scene-context-selection-materials,READ_ONLY)。
固定走 ``hou.selectedNodes()``,不接受 ``selectedItems()``;
因此不混入 network box / note / dot。返回 ``selected / count``,
每项 ``path / type / category``。响应过 server 端
``apply_response_cap``。
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": {
"ctx": "<ctx>"
},
"name": "get_selection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ctx | Yes |