Network agent calling wrong tools when using useChat with AI SDK
AgentClient SDKTools
My network agent works in Mastra Studio and calls the right tools, but when I connect it to useChat from the AI SDK, it calls the wrong ones. Anything I should check?