ToolsIntegrations
weather
Current weather by lat/lng. Free tier via open-meteo by default; swap provider via config.
import { weather } from '@agentskit/tools'
const runtime = createRuntime({
adapter,
tools: [...weather()],
})#Sub-tools
| Name | Purpose |
|---|---|
weatherCurrent | Current conditions at a coordinate |
Bundled: weather(config).
#Config
type WeatherConfig = {
provider?: 'open-meteo' | 'openweathermap' | 'weatherapi'
apiKey?: string // required except for open-meteo
units?: 'metric' | 'imperial'
fetch?: typeof fetch
}#Example
await runtime.run('What\'s the weather at 38.72, -9.14 right now?')#Related
- Integrations overview Β· maps β pair for NL β coords.
Explore nearby
- PeerIntegrations
20+ ready-made connectors for the services agents actually need. Each follows the same contract β install, config, execute β and ships granular sub-tools alongside a bundled set.
- Peergithub
GitHub REST v3 β search issues, create issues, comment. Pairs with HITL for ship-gating bots.
- PeergithubActions
GitHub Actions β list runs and trigger workflow_dispatch events.