Add a location
create_locationAdds a room, closet, or shelf to a property, optionally nested under a parent location or created with child locations in one call. Use it to build out storage hierarchy before assigning items.
Instructions
Adds a location — a room, closet or shelf — to a property, optionally inside another location (parentId), and optionally with locations inside it in one go: "a garage with three shelves" is name "Garage", children ["Shelf 1", "Shelf 2", "Shelf 3"]. Check list_locations first so you don't add one twice. propertyId can be left out when there's only one property; a new property itself is create_property. Returns the new locations with their ids.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| icon | No | An icon name for the app (optional) | |
| name | Yes | What the household calls it: "Garage", "Hall closet", "Top shelf" | |
| notes | No | Anything else worth keeping about it | |
| children | No | Names of locations to make inside it in one go: ["Shelf 1", "Shelf 2"] | |
| parentId | No | The location it's inside (a shelf in a closet), from list_locations; null: directly in the property | |
| propertyId | No | The property, from list_locations; can be left out when there's only one |