Search Wikidata entities
search_wikidataFind Wikidata Q-ids for Swiss municipalities, cantons, mountains, lakes, companies and people by name. Filter to Swiss items by country or citizenship, then use the ID to fetch full entity data.
Instructions
Find Wikidata items (Q-ids) by name; the universal join key for Swiss municipalities, cantons, mountains, lakes, rivers, companies, people and institutions. Returns id, label, description and match. Set swiss_only=true to keep only items whose country (P17) or citizenship (P27) is Switzerland (Q39). Examples: 'Matterhorn', 'Lac Léman', 'Nestlé', 'ETH Zürich', 'Winterthur' (swiss_only=true). Follow up with get_wikidata_entity.
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": {
"query": "<query>"
},
"name": "search_wikidata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results (1-50, default 10) | |
| query | Yes | Name or label to search, e.g. 'Matterhorn', 'Roche', 'Aare' | |
| language | No | Search/label language: de, fr, it, rm or en (default en) | en |
| swiss_only | No | Restrict to items with country or citizenship = Switzerland |