Get local search results
get_local_serp_resultsFetches a Google Maps or Local Finder results page from a coordinate, with the rows trimmed to identity, rank, rating, categories and hours. Decide yourself how to match a target business in the rows. Estimated price: $0.01 for a Google Maps search at any depth; Local Finder bills the same for each page of 20 places on desktop, 10 on mobile. Each call may spend up to the workspace's agent spend limit ($2.00 unless changed in Settings) without asking: it holds at most its estimate plus a margin while it runs and is charged what it bought, never more. A call whose maximum is above the limit is refused before anything is bought, with its estimate and maximum: ask the user, then call again with approvedMaxCostUsd set to the amount they approved.
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": {
"projectId": "<projectId>",
"keyword": "<keyword>",
"near": "<near>"
},
"name": "get_local_serp_results"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| near | Yes | The point the results are fetched from. | |
| depth | No | Places to fetch. Defaults to 20. | |
| device | No | Defaults to mobile. | |
| keyword | Yes | ||
| projectId | Yes | Required. The Visibility Genies project this call works in and is billed to. Call list_projects to find one. | |
| searchType | No | Defaults to maps. | |
| languageCode | No | Language code such as en, es or vi. When left out, the language of the project's default market is used (see list_projects). | |
| approvedMaxCostUsd | No | The most, in USD, the user approved for this call after seeing its estimate and maximum. Only needed after a call was refused for costing more than the workspace's agent spend limit; never set it without asking the user. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cost | No | ||
| meta | No | ||
| results | Yes | ||
| savedResultId | No |