tool(
weathR::point_forecast,
name = "point_forecast",
description = "Retrieve point forecast meteorological data for a latitude and longitude.",
arguments = list(
lat = type_number("Latitude."),
lon = type_number("Longitude."),
timezone = type_string(
"Nominal timezone for the forecast, either an Olson timezone name or '-1' for local time.
Defaults to '-1'.",
required = FALSE
),
dir_numeric = type_boolean(
"Whether wind directions should be returned numerically rather than as character directions.
Defaults to FALSE.",
required = FALSE
)
)
)