1.2 KiB
1.2 KiB
name, description, user-invocable
| name | description | user-invocable |
|---|---|---|
| weather-fetcher | Instructions for fetching current weather temperature data for Dubai, UAE from wttr.in API | false |
Weather Fetcher Skill
This skill provides instructions for fetching current weather data.
Task
Fetch the current temperature for Dubai, UAE in the requested unit (Celsius or Fahrenheit).
Instructions
-
Fetch Weather Data: Use the WebFetch tool to get current weather data for Dubai from wttr.in API:
- URL:
https://wttr.in/Dubai?format=j1 - This returns JSON format weather data
- URL:
-
Extract Temperature: From the JSON response, extract the current temperature:
- For Celsius: use
temp_Cfrom thecurrent_conditionsection - For Fahrenheit: use
temp_Ffrom thecurrent_conditionsection
- For Celsius: use
-
Return Result: Return the temperature value and unit clearly.
Expected Output
After completing this skill's instructions:
Current Dubai Temperature: [X]°[C/F]
Unit: [Celsius/Fahrenheit]
Notes
- Only fetch the temperature, do not perform any transformations or write any files
- Use wttr.in as it provides reliable, free weather data
- Return the numeric temperature value and unit clearly
- Support both Celsius and Fahrenheit based on the caller's request