You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: Anthropic models error Input_schema does not support oneOf, allOf, or anyOf at the top level #37916
Claude models in opencode fails with:
tools.12.custom.input_schema: input_schema does not support oneOf, allOf, or anyOf at the top level.
PR #32489 (#32489) (shipped in v1.17.8) sanitizes tool schemas for OpenAI models by dropping composition keywords. But that sanitization only runs for OpenAI/Azure adapters. It never touches the Anthropic path.
Plugins
changed the title [-]Anthropic models error: Input_schema does not support oneOf, allOf, or anyOf at the top level[/-][+]Bug: Anthropic models error Input_schema does not support oneOf, allOf, or anyOf at the top level[/+]on Jul 20, 2026
Activity
[-]Anthropic models error: Input_schema does not support oneOf, allOf, or anyOf at the top level[/-][+]Bug: Anthropic models error Input_schema does not support oneOf, allOf, or anyOf at the top level[/+]github-actions commentedon Jul 20, 2026
This issue might be a duplicate of an existing issue. Please check:
oneOf/allOf/anyOfat the top level; the sanitization from PR fix(opencode): sanitize OpenAI MCP tool schemas #32489 only covers OpenAI/Azure adapters and not the Anthropic path.github-actions commentedon Sep 19, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.