get_weather
Retrieve current weather data for a specified city, choosing metric or imperial units. Ideal for quick weather checks before heading out or planning trips.
Instructions
Get current weather information for a city
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": {
"city": "<city>"
},
"name": "get_weather"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes | The city to get weather for | |
| units | No | Temperature units (metric or imperial) | metric |