ToolsIntegrations
maps
Geocoding + reverse-geocoding via any provider with an HTTP API (Google, Mapbox, OpenCage, Positionstack, Nominatim).
import { maps } from '@agentskit/tools'
const runtime = createRuntime({
adapter,
tools: [...maps({
provider: 'google',
apiKey: process.env.GOOGLE_MAPS_KEY!,
})],
})#Sub-tools
| Name | Purpose |
|---|---|
mapsGeocode | Address β lat/lng |
mapsReverseGeocode | lat/lng β address |
Bundled: maps(config).
#Config
type MapsConfig = {
provider?: 'google' | 'mapbox' | 'opencage' | 'nominatim'
apiKey?: string
fetch?: typeof fetch
}#Example β travel planner
const runtime = createRuntime({
adapter,
tools: [
...maps({ provider: 'mapbox', apiKey }),
...weather(),
],
})
await runtime.run('Find the coordinates of "Lisbon waterfront" and check the weather there tomorrow.')#Related
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.