Find more damage without losing survivability
optimize_buildOptimizes Path of Exile 2 builds by testing incremental changes like support swaps, passives, and spirit skills, keeping only those that measurably improve damage or survivability.
Instructions
Tries likely changes to a build in Path of Building, one at a time, and keeps what measurably helps: support swaps on the main skill (or adding one to a free socket), notables that scale the build or its defences, Spirit skills, and an amulet anoint. damage lists changes that raise the objective (boss DPS, clear DPS or both) without giving up survivability (effective HP and max hit within 2%, resistances still capped); survival lists cheap survivability gains; spiritSkills shows what each Spirit skill measured; combined is the best compatible picks calculated together. Passive changes show their point cost and whether they fit the free points. Takes 10-40 seconds. A best-effort search, not a guaranteed best build; numbers are estimates. Use it after the first evaluate_build, and again after applying changes. Windows only for now.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gear | No | ||
| avoid | No | ||
| class | Yes | Class or ascendancy name | |
| goals | No | The player's goals from build_intake: stricter targets, an honest goalCheck, and budget-matched end-game gear | |
| items | No | Specific items; each replaces the assumed item in its slot. Jewels go in the tree's allocated jewel sockets. | |
| kinds | No | Default: all | |
| level | Yes | ||
| terms | No | What the build scales, for the assumed gear (as for stat_priorities) | |
| anoint | No | Notable to anoint on the amulet (Liquid Emotions), e.g. "Potent Incantation" | |
| flasks | No | Unique flasks and charms by name (or item text); plain life/mana flasks are assumed otherwise | |
| skills | Yes | ||
| defence | No | Defence layers for the assumed gear (default: life) | |
| weapons | No | Weapon item classes to assume, e.g. ["Staff"], ["Wand", "Focus"], ["One Hand Mace", "Shield"] | |
| gearTier | No | Quality of the assumed rares: budget (default, mid rolls), mid (good rolls, more mods), high (perfect rolls, full mods) | |
| passives | Yes | Main-tree passives taken by this level (key, id or exact name); missing connectors are added | |
| mainSkill | No | 0-based index of the main damage skill (default 0) | |
| objective | No | What to maximise. Default from goals.purpose: mapping → clear, bossing → boss, otherwise balanced | |
| ascendancy | No | ||
| weaponSwap | No | Weapon swap: a second weapon set with its own passives and skills | |
| amuletSkill | No | A skill granted with no Spirit cost by a Lament, Portent or Absent Amulet (replaces the amulet), e.g. "Herald of Ash" | |
| socketables | No | Runes, soul cores and idols to socket, by slot | |
| flasksActive | No | Calculate with flasks active | |
| helmetInstill | No | Notable to instill on the helmet via a Raven-Touched Shard (level 60+, expensive) | |
| maxEvaluations | No | Calculations to spend (default 40) | |
| ascendancyPassives | No |