Update Location
update_locationEdit fields on an existing tenant-rep deal (location): description, address, map link, size, price, NNN, deal type, commission, owner, status, and more. Partial — only the fields you pass change. deal is identified by location_id (prospectlocationid). Map pin rules: setting maplink or lat/long re-derives the pin (this is how you correct or move one), while setting the address only fills a pin in when the site has none — it never moves an existing pin, since a broker may have placed it deliberately. Adding an address to a site that was never mapped is therefore the quickest way to get it onto the client's map. Enforces deal participation. Changes a record — confirm with the user first. NOTE: per-milestone income commission is set via set_milestone_commission, not here. Cannot delete anything.
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 |
|---|---|---|---|
| nnn | No | Free-form NNN text. | |
| city | No | ||
| size | No | Size figure, in the unit given by size_type. The minimum when size_is_range is true. | |
| price | No | Free-form price text (ranges/notes allowed — never numeric arithmetic). | |
| size2 | No | Maximum size — only meaningful when size_is_range is true. | |
| state | No | ||
| county | No | ||
| address | No | Street address. If the site has no map pin yet, Propensa geocodes this to place one; an address change never moves an existing pin. | |
| maplink | No | A Google Maps URL or "lat,long" pair — coordinates are re-extracted for the map pin when this changes. This is how you correct or move a pin. | |
| latitude | No | Latitude, when you have exact coordinates. Takes precedence over maplink and address, and does move an existing pin. | |
| owner_id | No | The landlord/owner id. | |
| deal_type | No | Stored deal type. "Lease" displays as "NNN Lease". | |
| longitude | No | Longitude — pass together with latitude. | |
| size_type | No | Unit for size and size2. Pass this whenever you change size, so the figure is not reinterpreted in the deal's existing unit. | |
| status_id | No | A status_id from list_deal_statuses. | |
| asset_type | No | ||
| commission | No | Deal-level commission figure on the location record. NOTE: milestone-based commission for income reporting is set via set_milestone_commission, not here. | |
| lease_term | No | Lease term, free-form text ("10 years", "5 yrs + 2x5 options"). Leases only — leave it out on a purchase. An empty string clears it. | |
| description | No | Short label for the site. | |
| location_id | Yes | The prospectlocationid (tenant-rep deal) to edit. The broker must participate in the parent client. | |
| ti_allowance | No | Tenant improvement allowance, free-form text ("$45/SF", "$250,000", "turnkey"). Leases only — leave it out on a purchase. An empty string clears it. | |
| size_is_range | No | True when the size is a range — size is then the minimum and size2 the maximum. | |
| agent_assigned | No | Agent Assigned — the display name of the agent working this site. Use a participant's name exactly as list_deal_participants returns it. An empty string clears it. | |
| expected_close_date | No |