Create Location
create_locationCreate a new deal under a CLIENT (a client is the party the broker represents on the demand side — a tenant seeking space to lease, or a buyer/investor seeking property to acquire). In Propensa a client's deal is a "location" — a candidate property/site the client is pursuing. Use this when the deal hangs off a client you represent. Pass a description (required) plus any known site details; set status_id from list_deal_statuses (e.g. "Searching for Site"). ALWAYS pass the address when you know it — Propensa geocodes it into the map pin, so the site shows up on the client's locations map and in their site package; you do not need to work out coordinates yourself. lat/long (e.g. straight from search_places) or a maplink (Google Maps URL or "lat,long") take precedence. The result carries a "geo" block: if it says mapped:false, tell the user the site is not on the map and ask them for its Google Maps link, then set it with update_location. Creates a record — confirm the client and details with the user first. For a deal under a PROPERTY/LISTING, use create_prospect instead. 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": {
"client_id": "<client_id>",
"description": "<description>"
},
"name": "create_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. Pass this whenever you know it — Propensa geocodes it to a map pin automatically, so an address alone is enough to put the site on the client map. | |
| maplink | No | A Google Maps URL or "lat,long" pair — coordinates are auto-extracted for the map pin. Use this when there is no street address, or when the response says the site could not be mapped. | |
| latitude | No | Latitude, when you already have exact coordinates (e.g. straight from search_places). Takes precedence over maplink and address. | |
| owner_id | No | The landlord/owner id, if known. | |
| client_id | Yes | The prospectid (client id) to create the location under. The broker must participate in this client. | |
| 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. Defaults to SF when omitted. | |
| status_id | No | A status_id from list_deal_statuses (e.g. "Searching for Site"). | |
| asset_type | No | ||
| commission | No | ||
| 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 | Yes | Short label for the site (e.g. "123 Main St — end cap"). Required. | |
| 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 |