get_weather_history
Historical daily weather for any location worldwide. Temperature, precipitation, wind speed, and conditions. [PAID: $0.002 USDC per call via x402 on Base. First call without payment_signature returns the payment requirements.]
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>",
"start_date": "<start_date>",
"end_date": "<end_date>"
},
"name": "get_weather_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | Yes | End date YYYY-MM-DD (max 90 days range, must be yesterday or earlier) | |
| location | Yes | City name or region | |
| start_date | Yes | Start date YYYY-MM-DD | |
| payment_signature | No | Optional x402 payment token. Call the tool WITHOUT this first to receive payment requirements (price, payTo, asset, nonce rules), sign the exact-scheme EIP-712 USDC authorization with your wallet, then retry with this field set to the base64 token. |