wiki_bom
Bill-of-materials for making a target item/recipe: the full crafting tree INCLUDING the crafted intermediate sub-components (NOT just raw leaves). This is the tool for 'how many does it take to make ' — including components the target never lists directly (they're summed transitively across the whole tree). Differs from wiki_total_raw (raw materials only) and wiki_calc (exact one-step numbers for a single recipe). Pass an item slug (uses its primary producing recipe) OR a recipe slug. Optional: quantity (units of the target, default 1, 1..10000); ingredient (a specific component name/slug — returns just that component's total quantity + whether it's an intermediate or raw); recipe_slug (override which producing recipe to use when the item has several — the others are listed as 'alternatives'). Optional character/server setup to recompute the whole tree: skill_level/skills, talents, modules/module, and server (model a different server's difficulty). Example: { slug:"steam-tractor", ingredient:"iron bar" } → how many iron bars a steam tractor needs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The TARGET item or recipe slug (from a wiki_search result). | |
| module | No | A single module name/type, or a comma-separated list (alternative to modules[]). | |
| server | No | Model a DIFFERENT server by overriding its difficulty/feature settings (default = THIS server's real settings, so omit for accurate answers). Fields: craftResource (× ingredient cost), craftTime (× craft time), growth (× plant growth/maturity), garbageRatio (Update 14 craft-waste ratio, 0..1; scales recipe garbage byproducts), fuelEfficiency (× every fuel item's fuel value), foodVariety (bool), foodTastiness (bool), baseGain (flat XP/day floor), minBalanced/maxBalanced (balanced-diet multiplier range for food XP). | |
| skills | No | Per-skill levels: { "<skill FullName>": level }. Overrides skill_level for those skills. | |
| modules | No | Upgrade-module names/types installed (multiple slots stack). | |
| talents | No | Talent names/types to treat as learned (applied across the whole chain). Their effect text is echoed back so you can explain why a number changed. | |
| quantity | No | How many units of the target to produce (default 1; clamped 1..10000). | |
| ingredient | No | Optional: a specific component name or slug. Returns just that component's total quantity in the tree and its role (intermediate/raw). | |
| recipe_slug | No | Optional: when the target item has multiple producing recipes, pick this one (else the primary; others are reported as alternatives). | |
| skill_level | No | A single skill level applied to EVERY governing skill in the chain (shortcut for a uniform setup). |