get_weather <- function(location){}
weather_tool <- tidyllm_tool(
get_weather,
"Get the current weather in a given location",
location = field_chr("The city and state, e.g., San Francisco, CA")
)
Run the code above in your browser using DataLab