get_weather
Retrieve current weather for any location. Provide a city or country to get a short weather description.
Instructions
Gets the weather for a given location.
Args:
location (str): The location (city, country, etc.)
Returns:
str: A short weather description.
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": {
"location": "<location>"
},
"name": "get_weather"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| location | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |