Weather
Useful for service businesses and outdoor appointments. Pair with the geocode tool when the customer gives an address instead of coordinates.
What this tool does
For businesses that work outdoors, the weather changes plans. This tool lets your agent check the current forecast for a location using the free Open-Meteo API, then answer questions such as whether a job can go ahead today. It needs latitude and longitude, so pair it with the geocode tool when a customer gives an address. Your agent can then suggest a better day or reassure the customer, instead of leaving them to call the office.
Example conversation
Customer
Is the roof repair still on for this afternoon? It looks like rain here in Leeds.
Tool callget_weather
latitude: 53.80, longitude: -1.55
AI agent
Let me check. Leeds shows light rain until about 2 PM and clearer skies after that.
Customer
So you will still come?
AI agent
Your slot is at 3 PM, after the rain is expected to clear. I will let the team know you asked, and they will message you if anything changes.
Example only. Tool calls are shown so you can see when the agent uses this template. Your agent’s wording depends on your prompt and business information.
Who uses it
- Roofing, landscaping and painting companies confirming whether a job can go ahead.
- Tour operators and travel agencies answering questions about conditions on the day.
- Event and outdoor fitness businesses reassuring customers before a booking.
Setup
- Open Create agent or Edit agent and add a custom tool.
- Copy the fields below into the form. No API key is required.
- In your prompt, tell the agent to geocode an address first when needed, then call get_weather with latitude and longitude.
Copy into custom tool form
Copy each value into the matching field when you add a custom tool on the create or edit agent page. Replace any YOUR_… placeholders with your real credentials.
Tool name
Description
Endpoint URL
Paste into Endpoint URL (https:// is added automatically).
HTTP method
Tool inputs (all)
Tool input: latitude
Input name
Input type
Input description
Reference value
Use this as the request query or body value and choose “Tool input” in the form.
Tool input: longitude
Input name
Input type
Input description
Reference value
Use this as the request query or body value and choose “Tool input” in the form.
Request query (all)
Field name
Field value
Field name
Field value
Field name
Field value
