optimize_build
Assemble a complete high-DPS build by committing to key passive tree clusters and jewels, then maximizing DPS across all gear and supports while capping resistances and meeting minimum ehp.
Instructions
Assemble a complete, engine-verified, high-DPS build for the ACTIVE archetype — the holistic optimizer that does the synthesis the greedy per-slot tools can't (STATE tool: leaves the best build LOADED in the session).
Set up the archetype first (class + ascendancy + main skill, plus a weapon base for attack skills — it's archetype-defining), then call this. It SEEDS the dominant levers from the reference set for the build's delivery, and for each runs "commit-and-max": REQUIRE the lever's tree clusters
nearest jewel sockets (the over-commitment greedy won't make), then maximize
metricacross gear (plan_gear), jewels, supports and the weapon as a whole — iteratingpassestimes — and keeps the best build that caps resistances and meetsmin_ehp. Reports what it committed + the reference-set placement so it's transparent.
levers forces explicit reference lever names (omit to auto-seed). try_uniques adds a unique-item
pass. crafting applies the FULL crafting system (runes + Perfect essences + corruption) to every
gear slot of the winner — the "awesome gear" boost (heavier; adds ~1-2 min). uniques EQUIPS named
build-defining uniques and PRESERVES them (never recrafted); if one scales damage off an attribute
(e.g. Hand of Wisdom and Action → lightning per Intelligence) that attribute is auto-committed as a
lever, so the search builds the unique-enabled archetype (e.g. the Int-stack) the greedy can't find
on its own. archetypes (list of {class, ascendancy, skill, weapon}) also evaluates alternative
configs and keeps the best. parallel spreads the search across engine subprocesses (faster, more
memory). A heavy call (~1-3 min, more with crafting). The one thing it can't model is energy-meta
triggers (upstream PoB); run apply_combat_profile with the build's real conditions and validate_build.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metric | No | TotalDPS | |
| min_ehp | No | ||
| levers | No | ||
| tier | No | Pinnacle | |
| passes | No | ||
| max_jewel_sockets | No | ||
| try_uniques | No | ||
| crafting | No | ||
| uniques | No | ||
| converge | No | ||
| combat | No | ||
| archetypes | No | ||
| parallel | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||