def update_weather(temperature: float, condition: str) -> Dict:
    """Update weather data to test resource change notifications."""
    global last_weather
    last_weather = {"temperature": temperature, "condition": condition}
    return last_weather
Update weather data to test resource change notifications.
llama-index-integrations/tools/llama-index-tools-mcp/tests/server.py