find_path_to_node
Calculates the shortest passive-tree path from your current build to a target node, using a named build or the loaded Lua bridge build.
Instructions
Find the shortest path from your current tree to a specific passive node. Uses loaded Lua bridge build when no build_name is provided.
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": {
"target_node_id": "<target_node_id>"
},
"name": "find_path_to_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| build_name | No | Build to analyze (optional if a build is loaded via lua_load_build) | |
| target_node_id | Yes | ID of the target passive node |