name: weather description: "Get weather forecast for any location worldwide using wttr.in" metadata: agent-player: emoji: "๐ค๏ธ" version: "1.0.0" author: "Agent Player Team" category: "utilities" tags: ["weather", "forecast", "wttr.in"] triggers: - weather - forecast - temperature - "what's the weather" - "how's the weather" settings: - key: units type: select label: "Temperature Units" default: metric options: - value: metric label: "Celsius (ยฐC)" - value: imperial label: "Fahrenheit (ยฐF)" - key: format type: select label: "Output Format" default: short options: - value: short label: "Short summary" - value: full label: "Full forecast" - key: default_location type: string label: "Default Location" requires: bins: ["curl"] apis: ["wttr.in"]
Weather Skill
Get current weather and forecast for any location worldwide using wttr.in.
Usage
Ask about weather naturally:
What's the weather in London?
Weather forecast for Tokyo
Temperature in New York
How's the weather in Dubai?
API
Uses free wttr.in service:
# Short format
curl -s "wttr.in/London?format=1"
# Output: London: โ
๏ธ +18ยฐC
# Full format
curl -s "wttr.in/London?format=3"
Parameters
| Parameter | Description |
|---|---|
format=1 |
One-line summary |
format=3 |
Detailed with wind/visibility |
u |
Imperial units (Fahrenheit) |
m |
Metric units (Celsius) |
lang=ar |
Arabic language |
Output Formats
Short Format
London: โ๏ธ +22ยฐC
Full Format
London
\ / Partly cloudy
_ /"".-. 18 ยฐC
\_( ). โ 15 km/h
/(___(__) 10 km
0.0 mm
3-Day Forecast
โโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโ
โ Today โ Tomorrow โ Day 3 โ
โโโโโโโโโโโโโโโผโโโโโโโโโโโโโโผโโโโโโโโโโโโโโค
โ โ๏ธ 22ยฐC โ โ
20ยฐC โ ๐ง๏ธ 18ยฐC โ
โ Wind: 10km โ Wind: 15km โ Wind: 20km โ
โโโโโโโโโโโโโโโดโโโโโโโโโโโโโโดโโโโโโโโโโโโโโ
Examples
User: "What's the weather in Paris?"
Response:
๐ค๏ธ Weather in Paris
Paris: โ๏ธ +22ยฐC
Wind: 12 km/h
Humidity: 55%
User: "3-day forecast for Tokyo"
Response:
๐ค๏ธ Tokyo Weather Forecast
Today: โ๏ธ Sunny, 25ยฐC
Tomorrow: โ
Partly Cloudy, 23ยฐC
Day 3: ๐ง๏ธ Light Rain, 20ยฐC
Settings
| Setting | Type | Default | Description |
|---|---|---|---|
units |
select | metric | Celsius or Fahrenheit |
format |
select | short | Short or full forecast |
default_location |
string | - | Your default city |
Notes
- No API key required
- Works for any city worldwide
- Supports multiple languages
- No rate limiting (use responsibly)
- Requires
curlcommand