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).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| location | Yes | ||
| max_items | No | ||
| recursive | No |