This guide walks you through connecting Onesignal user auth to Vercel AI SDK v6 using the Composio tool router. By the end, you'll have a working Onesignal user auth agent that can update device tags for a specific user, list all segments in your app, fetch tags assigned to player id 123 through natural language commands.
This guide will help you understand how to give your Vercel AI SDK agent real control over a Onesignal user auth account through Composio's Onesignal user auth MCP server.
Before we dive in, let's take a quick look at the key ideas and tools involved.









