Skip to main content
Tools are functions that agents can call to perform specific actions. The SDK uses Zod for type-safe validation.

Create Basic Tool

Tool with Runflow API

Tool with Connector

Tool Execution Context

The execute function receives two arguments:
  • params: Validated input parameters (parsed from inputSchema via Zod)
  • toolContext: An object with { projectId, companyId, userId, sessionId, runflow } for accessing platform APIs

Using Tools in Agents

Built-in Tools

The SDK includes ready-to-use tools that you can add to any agent:
  • Web Search — Search the internet with Tavily, Exa, or Serper
  • Schedule — Create, list, update, and cancel scheduled executions

Next Steps

Web Search

Add internet search to your agents

Schedule

Create scheduled executions

HTTP Utilities

Use HTTP helpers in tools

Connectors

Use built-in connectors