
LLM & Integration17 min
Claude Opus 5.5 tool_choice 400: 3 SDKs Tested (2026)
Claude Opus 5.5 rejects forced tool_choice with a 400. I captured what the AI SDK, LangChain and the raw SDK actually send, and built a preflight check.
Tag
2 posts

LLM & Integration17 min
Claude Opus 5.5 rejects forced tool_choice with a 400. I captured what the AI SDK, LangChain and the raw SDK actually send, and built a preflight check.
LLM & Integration15 min
Unit-test Vercel AI SDK v6 code in TypeScript with MockLanguageModelV3 - no API key, no cost. Mock generateText, tool calls, and streaming in Vitest.