Restore location
restore_locationRestore an archived farm location by ID. Restore a sublocation only under an active parent; restoring a premises also restores its sublocations.
Instructions
Restore an archived location. A sublocation can only be restored beneath an active parent; restoring a premises restores its sublocations too.
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": "restore_location"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| farm_id | No | ||
| location_id | Yes | ||
| expected_version | No |