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``。
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>",
"node_path": "<node_path>"
},
"name": "get_cook_chain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ctx | Yes | ||
| max_depth | No | ||
| max_nodes | No | ||
| node_path | Yes |