List places
list_placesUse it when the person asks where this site's yachts leave from, or a place name they said is shared by two places. It answers how many regions, countries, areas, towns and bases there are, then one page of those places, each with its id and how many yachts are there now, read from the live inventory. Pass text with the name the person said to find that place on the first page, and level to list only one kind of place. When placesPage.cursor is not null, pass it as cursor for the next page. Pass an id to search_yachts as placeId to search exactly that place, for example when a name the person said is shared by two places. Arguments: text, level, cursor, limit. Any other name is refused.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_places"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Part of a place's name, in the person's words: only places whose name holds every word (any case). | |
| level | No | Only this kind of place. | |
| limit | No | Rows per page: at most 50 without sign-in, 20 for a signed-in person. | |
| cursor | No | The cursor a previous answer returned, for its next page. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| counts | Yes | How many places of each level there are in all (region, country, area, town, base). | |
| places | Yes | Every region, country, area, town and base, as the source links them. | |
| freshness | Yes | The copy of the source this answer reads. | |
| placesPage | Yes | This page: total places (of the asked level) and the cursor for the next page, null on the last. |