Create a room
create_roomCreates a room in a building. A room is where a PitCanary is placed and where every reading is attributed, so it needs a name and a type before a sensor can be paired to it. 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>",
"room_type": "<room_type>"
},
"name": "create_room"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | What the room is called, as a person would say it. | |
| room_type | Yes | The kind of room, a room-type key such as office, meeting_room, home_office, living_room, sleep_room, bathroom or wine_cellar (all keys: pitcanary://reference/room-types). It sets the default ranges and the peers this room is compared against. | |
| location_id | No | The building it is in, as returned by list_locations. |