add_location_by_search
Add a saved location by searching for a city or place name, letting the system resolve and store coordinates internally so you work with place names only.
Instructions
Add a new location by searching for a city or place name. This is the recommended way to add locations as coordinates are handled internally and never exposed. Use this instead of add_location whenever possible.
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": {
"name": "<name>",
"search_query": "<search_query>"
},
"name": "add_location_by_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | A friendly name to save this location as (e.g., 'Home', 'Office', 'Parents House') | |
| search_query | Yes | The city or place name to search for (e.g., 'Tokyo', 'New York', 'London') |