Skip to main content
Mastra agents accept Vercel AI SDK tools, so @channel3/agent-toolkit/ai-sdk works in any Mastra v1 agent. It provides the same two tools as the Channel3 MCP: search_products and get_products.

Install

Set CHANNEL3_API_KEY in your environment. Create a free API key if you don’t have one yet.

Use the tools

Requires @channel3/agent-toolkit 0.1.1 or later.

Tools and options

The tools, credit costs and options are the same as on the Vercel AI SDK page. For search_products, the model receives a one-line summary per product; the full structured result is in the tool result for your UI.