wttr_request
Retrieve weather forecasts and moon-phase data from wttr.in in JSON, text, HTML, Prometheus, PNG, or custom formats, with query options for locations and display settings.
Instructions
Access documented wttr.in output formats and query options, including JSON, text, HTML, Prometheus, PNG, custom formats, and moon phase emoji.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "wttr_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Output format. Use moon for JSON moon phase data, or use formatCode %m for the moon emoji. | json |
| params | No | Additional wttr.in query parameters, such as lang=zh, m, u, M, or transparency=150. | |
| location | No | City, airport code, coordinates, IP, domain, Moon, or multiple locations separated by :. Omit for server IP location. | |
| formatCode | No | wttr.in format code, such as j1, j2, p1, 3, or %m. | |
| shortOptions | No | Short wttr.in options, or PNG options such as 0tqp. |