Create location
create_locationCreate a new location within a building. Requires locations:write scope.
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>",
"building_id": "<building_id>"
},
"name": "create_location"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| area | No | Area (sq ft or sq m) | |
| name | Yes | Location name (required) | |
| type | No | Location type label | |
| floor | No | Floor identifier | |
| building_id | Yes | Building ID (required) - resolve via list_buildings | |
| location_type_id | No | Location type ID (from location_types) - resolve via list_location_types |