Skip to main content

Weather Tool (weatherTool)

Retrieves current weather information for a location, perfect for meditation planning and spiritual travel.

Overview

The weather tool provides comprehensive weather data including temperature, humidity, wind conditions, and weather descriptions. It’s automatically triggered when users ask about weather conditions.

Input Schema

location
string
required
City name or location (e.g., “Tokyo”, “New York”, “Kyoto, Japan”)

Output Schema

temperature
number
Current temperature in Celsius.
feelsLike
number
Feels-like temperature in Celsius (accounting for humidity/wind).
humidity
number
Relative humidity percentage (0-100).
windSpeed
number
Wind speed in kilometers per hour.
windGust
number
Wind gust speed in kilometers per hour.
conditions
string
Weather condition description (e.g., “Partly cloudy”, “Light rain”).
location
string
Resolved location name.

Example Usage

Direct Tool Call

Tool Result

Natural Language Triggers

The tool is automatically triggered by various weather-related queries:
  • “What’s the weather like in Tokyo?”
  • “Is it good weather for meditation in Kyoto?”
  • “How’s the weather in New York?”
  • “Should I visit the temples in good weather?”
  • “Weather conditions for outdoor meditation”

Integration Examples

Weather-Aware Meditation Planning

Weather-Informed Travel Planning

Best Practices

Location Specificity: Use specific city names for accurate weather data.
Context Awareness: Combine weather information with spiritual activities for better recommendations.
Cache Weather Data: Weather changes slowly, consider caching for performance.
Seasonal Planning: Use weather data for seasonal spiritual retreat planning.

Error Handling

Use Cases

  • Meditation Planning: Check weather suitability for outdoor meditation
  • Temple Visits: Plan temple visits considering weather comfort
  • Spiritual Travel: Weather-aware travel planning for pilgrimages
  • Seasonal Activities: Plan seasonal spiritual activities
  • Wellness Integration: Combine weather data with wellness recommendations