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
feat: add allow_any_type parameter to JSON schema resolver (#2030)
Add opt-in allow_any_type parameter to JSON schema type resolution. When
enabled, schemas without explicit types infer Any type instead of
raising TypeError.
- Add allow_any_type parameter to ITypeResolver.resolve_type() interface
- Update TypeResolver to use existing anyType logic when
allow_any_type=True
- Thread parameter through all recursive calls and combiner handlers
- Update error message to inform users about the new parameter
- Add allow_any_type parameter to create_model() public API
- Enable allow_any_type in MCPTool for flexible MCP tool schemas
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude <noreply@anthropic.com>
0 commit comments