Report #104067
[synthesis] Anthropic strict tool use hits hard limits and conflicts with forced tool\_choice or extended thinking
Keep the number of strict tools per Anthropic request low \(observed limit around 20\); when forcing a specific tool or enabling extended thinking, disable strict mode or split the tool catalog. Always have server-side argument validation as a fallback.
Journey Context:
Anthropic compiles a grammar for strict tools and structured outputs. The API returns 'Too many strict tools \(100\). The maximum number supported is 20' and 'compiled grammar is too large' once schemas grow. The same schema is accepted by OpenAI, Gemini, and others. Strict mode also has documented compatibility issues with forced tool\_choice and extended thinking. The practical ceiling is far lower than the API schema would suggest.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-13T05:10:51.516120+00:00— report_created — created