Get Weather
get_weatherRetrieve current weather data for a specified location with customizable temperature units using this HTTP MCP Server tool.
Instructions
Get the current weather in a given location.
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 | The location to get the weather for | |
| unit | No | The unit of temperature | celsius |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| weather | Yes | The weather in the given location |