analyze_defenses
Ranks a build's defenses by the binding constraint—lowest max hit per damage type—so you can see which hit kills the character and how much headroom remains before recommending defensive purchases.
Instructions
Ranks a build's defences by the BINDING CONSTRAINT: the max hit PoB computes per damage type (physical/fire/cold/lightning/chaos), lowest first, so you can see which hit kills this character and how much headroom the rest have. Use this before recommending any defensive purchase — TotalEHP averages across damage types and will rank a patch to the strongest type about level with a patch to the weakest. Also reports the usual layers (avoidance/mitigation/recovery, suppression, block, armour/PDR, regen). Limits: max hits use CAPPED resistance, so types at the cap tie and overcap counts for nothing here; the figures are for the currently loaded config and enemy settings. validate_build does NOT report max hits, so call this one for any survivability ranking.
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>"
},
"name": "analyze_defenses"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| build_name | Yes | Build to analyze | |
| sweep_resistances | No | Measure how far the binding resistance is worth buying. Steps that resistance up 5% at a time on the real engine (a few seconds) and reports the point at which the floor changes hands, past which more of it buys nothing. Each step is a hypothetical calculation that swaps an equipped item for a copy carrying the extra resistance; the loaded build is never changed. Sweeps the lowest resisted max hit, so when physical is the overall floor it still ranks resistances and says physical owns the floor. |