@agentskit/tools — for agents
Built-in executable tools + 20+ third-party integrations + bidirectional MCP bridge.
#Install
npm install @agentskit/tools#Primary exports (main entry)
webSearch,fetchUrl,filesystem,shell— core built-ins.sqliteQueryTool— parameterized SQLite query tool.slackTool— Slack incoming-webhook tool (lighter than the OAuthintegrations/slack).defineZodTool— define tools with Zod schemas.listTools— discovery helper.safeFetch—fetchwith default-deny egress (ADR-0010): blocks private/loopback/link-local hosts (SSRF) and re-gates every redirect hop. Use for any tool fetching a model-influenced URL. Companions:checkEgress,isPrivateHost,isPrivateIPv4,isPrivateIPv6; policy typeEgressPolicy.
#Subpath exports
| Subpath | Contents |
|---|---|
@agentskit/tools/mcp | createMcpClient, createMcpServer, toolsFromMcpClient, createStdioTransport, createInMemoryTransportPair. See MCP bridge. |
@agentskit/tools/integrations | Communication: slack, discord, gmail, twilio. Project tracking: linear, linearTriage, jira, confluence, notion. Source / CI: github, githubActions. Customer / commerce: hubspot, airtable, shopify, stripe, stripeWebhookTool (+ verifyStripeSignature). Calendars / docs: googleCalendar, figma. Web / scraping: firecrawl, reader, documentParsers, browserAgent. Media: openaiImages, elevenlabs, whisper, deepgram. Data: postgres, postgresWithRoles, s3, cloudflareR2, coingecko, maps, weather. Operations: pagerduty, sentry. See Integrations + More integrations. |
#Minimal example
import { webSearch } from '@agentskit/tools'
import { github } from '@agentskit/tools/integrations'
const tools = [
webSearch(),
...github({ token: process.env.GITHUB_TOKEN! }),
]#Related
- @agentskit/core/compose-tool — chain tools.
- @agentskit/sandbox — enforce a sandbox policy across tools.
- @agentskit/runtime.
#Source
- npm: https://www.npmjs.com/package/@agentskit/tools
- repo: https://github.com/AgentsKit-io/agentskit/tree/main/packages/tools
Explore nearby
- PeerFor agents — overview
Dense, LLM-friendly reference for every AgentsKit package. Designed to paste into an agent's context window.
- Peer@agentskit/core — for agents
Zero-dependency foundation. Contracts, chat controller, primitives, and a dozen feature subpaths.
- Peer@agentskit/adapters — for agents
Provider adapters (OpenAI-compatible + native) + router + ensemble + fallback + generic factory.