location_contents
List items in a home inventory location by name or path, optionally including all nested sub-locations recursively. Returns item names and full location paths for each item.
Instructions
List what is in a location (e.g. a tote or shelf), by location name.
Returns the items directly in that location plus any sub-locations (their
names only — not their contents). Set recursive=True to instead walk the
whole subtree and return every item nested under it, each tagged with its
full location path; use this when a location (e.g. Garage, Basement) has
sub-locations you also want the contents of, to avoid querying each one by
hand. location is a name or /-separated path (for duplicate names).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"location": "<location>"
},
"name": "location_contents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| location | Yes | ||
| max_items | No | ||
| recursive | No |