Spaces:
Sleeping
Sleeping
Commit History
-
fix: replace oneOf with anyOf in OpenAPI schemas to handle overlapping unions (#1119)
Magnus +1: Jeremiah LowinUnverified signatureCo-authored-by: Jeremiah Lowin <153965+jlowin@users.noreply.github.com>dd2c763
-
Add output schema support for OpenAPI tools (#1073)
Jeremiah Lowin +1: ClaudeUnverified signature* Add output schema support for OpenAPI tools Implement automatic output schema extraction from OpenAPI responses for FastMCP tools, addressing issue #1070. Tools generated from OpenAPI specs now have meaningful output schemas instead of null, improving agent efficiency when working with structured API responses. - Add extract_output_schema_from_responses() function to parse response schemas - Enhance OpenAPITool to accept and use output schemas with proper wrapping - Automatically wrap non-object responses to comply with MCP requirements - Include schema definitions and compress unused ones - Add comprehensive test suite covering object, array, and primitive responses - Update existing tests to handle structured output with proper typing - Maintain backward compatibility for specs without response schemas 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * Move output schema tests to dedicated test file Reorganize output schem…53a91d7