Create a building
create_locationCreates a building and returns its location_id, which every building-scoped tool takes. A building groups rooms: the comparison views, the day-fact rollups and a team member's scope are all built on it, so a room that belongs to no building is invisible to all three. It needs a name; an address is optional and is one free-text line that the product reads a city and country out of. Read list_locations first to check the building is not already there. Requires a PitCanary account.
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": {
"name": "<name>"
},
"name": "create_location"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | What the building is called. | |
| address | No | Its address, as one line. |