get_temperature
Get the current air temperature for any city by name. Access real-time weather data directly without an API key.
Instructions
Get the current air temperature for a city, by name.
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_temperature"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes | The place name as resolved by the geocoder | |
| country | Yes | Country the place was resolved to | |
| latitude | Yes | ||
| longitude | Yes | ||
| observed_at | Yes | Local observation time, ISO 8601 | |
| temperature_c | Yes | Current air temperature in Celsius |