cpu_find_buildings
Search the building catalog by resource role: find which buildings consume, produce, or mine a given resource, then narrow results by kind and tier.
Instructions
Search the building catalog by what a building consumes, produces or mines ("which buildings process steel"). Filters are optional and combine with AND. The four resource filters are four distinct roles: buildInput — a build input, burned ONCE to erect the building; recipeInput — a recipe input, consumed on EVERY production cycle; recipeOutput — what a cycle produces; minableResource — what an extractor draws from its own cell deposit. kind and tier narrow further. Answers are index rows (type, name, kind, tier, build cost, one line of what it does), up to 50 by default — narrow the filters rather than paging. A single match returns the full card, as cpu_get_building does. No match is a plain answer, not an error. Read-only. No session needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | extractor | crafter | hub. | |
| tier | No | Catalog tier of the building. | |
| limit | No | How many rows to return (default 50, max 200). | |
| buildInput | No | Resource id burned once to construct the building. Not a recipe — see `recipeInput`. | |
| recipeInput | No | Resource id a crafter consumes on every production cycle. | |
| recipeOutput | No | Resource id a crafter produces on every production cycle. | |
| minableResource | No | Resource id an extractor draws from the deposit of its cell. |