get_cook_chain
Map the upstream dependency chain that determines a Houdini node's cook result. Recursively follow inputs with depth and node limits, deduplicating paths to avoid cycles and diamonds.
Instructions
有界 DFS 上游 cook chain(add-scene-context-selection-materials,READ_ONLY)。
从 ``node_path`` 沿 ``inputs()`` 关系向上递归;path-based
visited 在入栈前判定,菱形 / 环自动去重。``max_nodes`` 是
HOM 访问预算硬约束;触发时 ``truncated=True``。响应过
server 端 ``apply_response_cap``。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ctx | Yes | ||
| max_depth | No | ||
| max_nodes | No | ||
| node_path | Yes |