Archive location
archive_locationArchive a farm location to exclude it from new selections, preserve its history, and archive its sublocations while clearing any matching home default.
Instructions
Archive a location. Archiving a premises also archives its sublocations and clears a matching home default. History keeps the site; it is excluded from new selections.
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": "archive_location"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| farm_id | No | ||
| location_id | Yes | ||
| expected_version | No |