craft_item
Craft best-in-slot items using runes, essences, and corruptions. Specify metrics or goals to generate optimized gear with step-by-step crafting instructions.
Instructions
Craft the best-in-slot item using the FULL crafting system — beyond a plain rare.
Where optimize_item crafts the best rare from the standard affix pool, this adds the three real
PoE2 power sources, each valued on the engine (PoB owns the crafting data — nothing is invented):
runes / soul cores (mods socketed on top of the affixes), essences (force a mod — Perfect
essences grant mods the normal pool can't roll, e.g. % Life on body armour, "damage as extra" on
weapons), and corruptions (a corrupted implicit, e.g. +1 to all skills on an amulet). Pass a
single metric or a weighted goals blend; rune_sockets is how many the base is assumed to
support (Artificer's Orb — martial weapons/armour typically allow up to 2). Returns the item + the
craftSteps to make it (the corruption is a Vaal gamble — do it last). A theoretical best-in-slot
target with idealized rolls; price the steps. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slot | Yes | ||
| metric | No | TotalDPS | |
| base | No | ||
| goals | No | ||
| rolls | No | realistic | |
| rune_sockets | No | ||
| use_essences | No | ||
| use_corruption | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||