class

Autobot::Plugins::Builtin::WeatherTool

Inherits Autobot::Tools::Tool < Reference < Object

Tool that fetches weather data from wttr.in.

Constants

BASE_URL = "wttr.in"
BRIEF_FORMAT = "format=%l:+%c+%t+%h+%w"
BRIEF_TIMEOUT_S = "10"
FULL_TIMEOUT_S = "15"
NO_DATA_MESSAGE = "No weather data available for this location."

Instance methods

description
Source
execute(params : Hash(String, JSON::Any)) : Tools::ToolResult
Source
name
Source
parameters
Source