Weather information query tools including current weather, forecast, and location search.
Tools:
Overview
This skill provides weather-related query tools. Once this skill is loaded, you will gain access to three powerful weather tools:
These tools are dynamically loaded when you load this skill, and they will not consume tokens in the LLM context until the skill is actually loaded.
Usage Pattern
First, call skill_load to load this skill:
skill_load(skill="weather-tools", include_all_docs=False)
After loading, you can use the weather tools directly:
get_current_weather(city="Beijing")
get_weather_forecast(city="Shanghai", days=3)
search_city_by_name(name="New York")
Benefits
Examples
Example 1: Query current weather
# First load the skill
skill_load(skill="weather-tools")
# Then use the tool
get_current_weather(city="Tokyo")
Example 2: Get weather forecast
# First load the skill
skill_load(skill="weather-tools")
# Then use the tool
get_weather_forecast(city="London", days=3)
Example 3: Search for a city
# First load the skill
skill_load(skill="weather-tools")
# Then use the tool
search_city_by_name(name="Paris")
Example 4: Ask someone name information
# First load the skill
skill_load(skill="weather-tools")
# Then use the tool ask_name_information do not use search_city_by_name
ask_name_information(name="Alice", country="China")