Update site
update_siteUpdate an existing site by ID, or archive / restore it with archived. Archiving a site archives its buildings, locations and assets in one step and keeps every linked work order; prefer it to delete_site for a closed site. Requires sites: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": {
"id": "<id>"
},
"name": "update_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Site ID | |
| city | No | City | |
| name | No | Site name | |
| address | No | Street address | |
| country | No | Country | |
| archived | No | true archives the site with its buildings, locations and assets; false restores it and what was archived with it. Confirm with the user first. | |
| province | No | Province/state | |
| year_built | No | Year built | |
| description | No | Description | |
| postal_code | No | Postal/zip code | |
| contact_name | No | Primary contact name | |
| contact_email | No | Contact email | |
| contact_phone | No | Contact phone | |
| cost_per_sqft | No | Base cost per square foot | |
| lease_details | No | Free-text lease details / notes | |
| lease_end_date | No | Lease end date (YYYY-MM-DD) | |
| owner_landlord | No | Property owner or landlord | |
| ownership_type | No | Ownership type | |
| renewal_option | No | Lease renewal option details | |
| square_footage | No | Square footage | |
| archived_reason | No | Optional reason, only with archived: true | |
| lease_start_date | No | Lease start date (YYYY-MM-DD) | |
| insurance_provider | No | Insurance provider name | |
| insurance_policy_number | No | Insurance policy number | |
| additional_cost_per_sqft | No | Additional cost per square foot | |
| property_manager_company | No | Property management company name | |
| operational_cost_per_sqft | No | Operational cost per square foot | |
| property_manager_contact_name | No | Property management contact name | |
| property_manager_contact_email | No | Property management contact email | |
| property_manager_contact_phone | No | Property management contact phone |