read_comp
Read a Nuke node graph or subtree to retrieve nodes, connections, knob values, and errors. Use summary or pagination for large comps.
Instructions
Read the node graph (or a subtree). Returns nodes with type, connections, non-default knob values, and error state.
For large comps (200+ nodes), use summary=True for a compact overview (names and types only, no knobs), or use offset/limit to paginate.
Args: root: read children of this node only (e.g. a Group name). omit for entire script. depth: how many levels deep to recurse into groups. default 999. summary: if True, return only name/type/connections per node, skip knobs. faster for large comps. type: filter to only this node class (e.g. 'Grade', 'Read'). offset: skip this many nodes (for pagination). default 0. limit: max nodes to return. 0 means all. use with offset to page through large comps.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | No | read children of this node only (e.g. a Group name). omit for entire script. | |
| type | No | filter to only this node class (e.g. 'Grade', 'Read'). | |
| depth | No | how many levels deep to recurse into groups. default 999. | |
| limit | No | max nodes to return. 0 means all. use with offset to page through large comps. | |
| offset | No | skip this many nodes (for pagination). default 0. | |
| summary | No | if True, return only name/type/connections per node, skip knobs. faster for large comps. |