This guide walks you through connecting DocRaptor to Vercel AI SDK v6 using the Composio tool router. By the end, you'll have a working DocRaptor agent that can convert html invoice to pdf file, export web report as xlsx spreadsheet, generate pdf from dynamic html form through natural language commands.
This guide will help you understand how to give your Vercel AI SDK agent real control over a DocRaptor account through Composio's DocRaptor MCP server.
Before we dive in, let's take a quick look at the key ideas and tools involved.








