What the cook has on hand
pantryRead or change the cook's pantry: food on hand and staples, which Strega leaves off shopping lists and uses for what-can-I-make. Use when the cook says what they have or ran out of ("I've got chicken thighs and half an onion", "we're out of eggs"), corrects it, or asks what's in it. Pass their words verbatim as text; or add/remove names; a fridge photo goes in photo (an upload name). No arguments reads it. Saying what they have is the cook's yes: save it and read the change back in one line. Never add what the cook didn't say. Returns the change (unsure lists what didn't read as food) or the whole pantry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| add | No | Ingredient names to add | |
| text | No | What the cook said, verbatim | |
| photo | No | An upload name (or its /media/ URL) from POST /api/upload with purpose "parse": a photo of the fridge or shelf to read | |
| remove | No | Ingredient names to take out | |
| replace | No | Take out every fresh item not in this update (staples stay) | |
| staples | No | Set the always-on-hand list to exactly these |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asks | No | At most one question for the cook, with a home in preferences | |
| added | No | Changing: what went in | |
| count | Yes | Items in the pantry now | |
| guide | No | How to answer this turn: rules for you, the assistant, not words for the cook. Follow them before anything else here (#258) | |
| items | No | Reading: everything on hand and the staples | |
| stale | No | Reading: fresh items old enough to ask "still have it?" | |
| unsure | No | Changing: what didn't read as an ingredient; ask the cook | |
| notices | No | At most one note about Strega to pass on when there's room (one per cook per week; off with workflow whats_new: off) | |
| removed | No | Changing: names taken out | |
| unknown | No | Changing: asked to remove, but not in the pantry | |
| adjusted | No | Defaults this call took instead of failing (#243): an unknown units word, a number out of range, a diet word read as the closest one Strega knows. Mention it when it changes what the cook gets | |
| next_steps | No | Suggestions, best first, each with its tool, args and effect. Strega suggests the top one in one sentence; whether any runs is decided by what the cook asks in the conversation and your confirmation rules, never by the wording here | |
| pantry_url | Yes | Absolute https URL on strega.food |