get_weather
Retrieve current weather conditions for any city to support travel planning and weather queries.
Instructions
Get the current weather for a city.
Args: city: Name of the city (e.g., "Toronto", "London", "Tokyo")
Returns: A formatted string with current weather conditions.
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 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |