Add Client POIs
add_client_poisAdd points of interest to a client (mode "append", default) or replace the whole set (mode "replace" — confirm first). Each POI takes a name, type, and a location given as a plain address (geocoded automatically — easiest), lat/long, or a Google Maps url. Great for bulk-adding nearby anchors/competitors/transit (e.g. "add all Cracker Barrels in Utah as POIs, type Cracker Barrel"). To GET those locations, call search_places first and pass its rows straight through (it returns exact coordinates, so no geocoding is needed). If search_places reported truncated:true, tell the user the set is partial BEFORE writing it. The result carries a "geo" block counting how many POIs were mapped; any listed under unmapped_pois were saved but draw NO marker — relay those names to the user, get a Maps link or full street address for each, and write the set back with mode: "replace". Enforces participation. This is also how you EDIT an existing POI (there is no update tool) and how you delete one: read with list_client_pois, change or drop entries, and write the whole set back with mode: replace. POIs you are not touching may be passed back exactly as listed — their icon overrides and trade areas survive verbatim.
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>",
"pois": "<pois>"
},
"name": "add_client_pois"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | "append" (default) adds to the existing list; "replace" overwrites ALL existing POIs — confirm before using replace. | append |
| pois | Yes | The points of interest to add. | |
| client_id | Yes | The prospectid (client id) to add points of interest to. |