Update location
update_locationUpdate a location directory entry. Pass expected_version to reject a stale edit. Reparenting an existing sublocation is an explicit directory edit and never changes prior event snapshots.
Instructions
Update a location directory entry. Pass expected_version to reject a stale edit. Reparenting an existing sublocation is an explicit directory edit and never changes prior event snapshots.
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 | ||
| address | No | ||
| context | No | ||
| country | No | ||
| farm_id | No | ||
| category | No | ||
| parent_id | No | ||
| location_id | Yes | ||
| province_state | No | ||
| expected_version | No | ||
| legal_land_description | No |