list_stock
Fetch live pantry inventory and filter by location or product category to see current stock.
Instructions
List everything currently in the pantry, read live from Grocy.
This is always current — it queries Grocy on every call, so there is no need to check a timestamp or work around a cache.
Args: location: Optional case-insensitive substring, e.g. "fridge", "freezer". Omit for everything. category: Optional product-group substring, e.g. "spices", "dairy".
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_stock"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | No | ||
| location | No |