Explore topics

Topic

AI Agent Tools

A tool is where the agent touches the real world, so most production issues live here. This topic covers the whole tool lifecycle: typed definitions with Zod, input/output hooks, repairing malformed tool calls, generating tools at runtime, and gating destructive actions behind human approval. Then the capabilities themselves — neural web search with Exa, scraping with Cheerio and Firecrawl, and PDF ingestion — each wired into a working chat you can test.

22 patterns8 featured

Featured patterns

A curated starting point for this topic — open a live preview, then adapt the source.

8 curated
Exa Web Search Tool preview
Intermediate

Exa Web Search Tool

Search with Exa's semantic API and real-time crawling. Includes live content extraction and relevance scoring.

streamTextstepCountIsai
PatternView
Web Search Tool preview
Beginner

Web Search Tool

Search the web using OpenAI's tool with real-time results. Includes source verification, citation tracking, and contextual answers.

generateTexttools:ai
PatternView
Cheerio Web Scraper preview
Beginner

Cheerio Web Scraper

Extract content from websites using Cheerio. Includes parsing, link discovery, and rate limiting.

cheerioscraper
PatternView
PDF Analysis Tool preview
Beginner

PDF Analysis Tool

Process PDFs with AI analysis. Extract text, generate summaries, and identify key insights.

streamTextgatewayai
PatternView
Dynamic Tool preview
Intermediate

Dynamic Tool

Create dynamic tools with runtime-generated schemas using dynamicTool. Demonstrates unit conversion tools where schema adapts based on conversion type (temperature, length, weight, currency) and supports dynamic model selection.

streamTextconvertToModelMessagesai
PatternView
Tool Input Lifecycle Hooks preview
Beginner

Tool Input Lifecycle Hooks

Explore tool input lifecycle hooks: onInputStart, onInputDelta, and onInputAvailable. See how to track tool input generation in real-time during streaming.

streamTextconvertToModelMessagesai
PatternView
HIL Tool Approval Basic preview
Intermediate

HIL Tool Approval Basic

Chat assistant with human approval workflows for safe tool execution.

streamTextgatewayai
PatternView
HIL Needs Approval preview
Intermediate

HIL Needs Approval

Demonstrate tool approval with async generators. Includes real-time feedback, approval workflows, and interactive management.

new Agenttool(ai
PatternView

More patterns

Additional patterns that fit this topic.

14 more
01
Preliminary Tool ResultsReturn preliminary tool results using async iterables. Stream status updates during tool execution before the final result is available.
02
Tool API ContextPass arbitrary context from generateText/streamText to tool execution via experimental_context. Access context in tool execute functions for dynamic behavior.
03
Tool Call RepairRepair invalid tool calls using experimental_repairToolCall. Fix schema validation errors without requiring additional steps that pollute message history.
04
Search - Exa AI (robust)Search the web using Exa's semantic API and real-time crawling. Includes URL search, content extraction, Wikipedia, Reddit, and news search tools.
05
Search - Firecrawl (robust)Search the web using Firecrawl's API and real-time crawling. Includes URL search, content extraction, Wikipedia, Reddit, and news search tools.
06
Scrape - Cheerio (lightweight)Scrape websites using Cheerio's fast HTML parser. Includes URL scraping, website crawling, and content extraction without external API costs.
07
Scrape - Jina AI (advanced)Scrape websites using Jina AI's reader service with JavaScript rendering. Includes URL scraping, website crawling, and content extraction with AI-powered parsing.
08
Scrape - Markdown.new (free)Scrape websites using Cloudflare's markdown.new service. Extract clean markdown content from any URL. No API key required.
09
Claude Web Search ToolSearch the web with Claude AI. Includes result filtering, multiple search types, and language support.
10
@exalabs webSearch ToolSearch with Exa AI SDK's webSearch tool and Anthropic Claude Sonnet 4.5. Uses @exalabs/ai-sdk for seamless integration.
11
Firecrawl Scrape Tool ChatCrawl and extract content using Firecrawl's API. Includes URL processing, markdown conversion, and structured data extraction.
12
Jina AI Web ScraperScrape websites using Jina AI with JavaScript rendering and proxy rotation. Handles rate limiting and bot detection.
13
Cloudflare Markdown.new Web ScraperConvert any webpage to markdown using Cloudflare's markdown.new. Clean, structured output for AI pipelines and content processing.
14
AI Profile Enrichment FormAnalyze user profiles with AI and provide personalized suggestions. Enriches data, suggests improvements, and offers career insights.

Related topics

Continue with adjacent topics that share the same building blocks.

Browse by category

Jump into the catalog filtered by category.

You’ve reached the end of AI Agent Tools.