optimize_tree
Optimizes a Path of Building passive tree by removing inefficient nodes and reallocating points toward damage, defense, or balanced goals.
Instructions
Full passive tree optimization - removes inefficient nodes and reallocates to better options
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": {
"build_name": "<build_name>",
"goal": "<goal>"
},
"name": "optimize_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | Yes | Primary optimization goal: 'damage', 'defense', 'balanced' | |
| build_name | Yes | Build to optimize | |
| max_points | No | Number of passive points to optimize; caps how many recommended allocations are returned (default: 10) | |
| constraints | No | Optional constraints: { minLife, minES, protectedNodes: string[] }. protectedNodes are excluded from recommendations; minLife/minES are evaluated against current stats and reported (suggestions are not stat-recalculated). | |
| max_iterations | No | Maximum optimization iterations (accepted for forward compatibility; not used by the current analyzer) |