Rename a building
update_locationChanges a building's name, its address, or both. Ids come from list_locations. The address is one free-text line and the product reads a city and country out of it, so write it the way post would. Only what you pass is changed, and nothing about the rooms inside moves: this renames the building, it does not re-file anything. 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": {
"location_id": "<location_id>"
},
"name": "update_location"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | A new name. | |
| address | No | A new address. | |
| location_id | Yes | The building id, as returned by list_locations. |