Count a search
count_searchCount the places of a search (the "search" returned by suggest_categories). Its input describes the search object in full (target, area, filters one by one, sort): read it to edit a search. Places already delivered to the account are left out unless search.excludeDelivered is false. When "exact" is false, say "≈ N".
Free.
Same call as POST /api/v1/search/count 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": "count_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search | Yes | The search, as returned by POST /categories/suggest (field "search"). Send it back as is, edited if needed. |