Preview a search
preview_searchUp to 25 sample places of a search (name, city, category, rating, reviews). Contact details are booleans here: email addresses, phone numbers and websites only come with a list (create_list).
Free.
Same call as POST /api/v1/search/preview of the REST API.
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": {
"search": "<search>"
},
"name": "preview_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Rows returned (default 10, at most 25). | |
| offset | No | Rows to skip (default 0). | |
| search | Yes | The search, as returned by POST /categories/suggest (field "search"). Send it back as is, edited if needed. The "search" object returned by suggest_categories (target, area, filters, sort), sent as is or edited; its full schema is the "search" input of count_search. An invalid search is refused with invalid_request and the fields to fix. |