Spaces:
Sleeping
Sleeping
Commit History
-
Improve OpenAPI-to-JSONSchema conversion utilities (#1283)
Jeremiah LowinUnverified signature4394198
-
Do not silently exclude the "context" key from JSON body (#1153)
Martin MelkaUnverified signature0c985eb
-
Expand empty parameter filtering and add tests
Jeremiah Lowin +1: ClaudeBuilds on PR #1128 by adding comprehensive filtering at parameter selection stage and test coverage for empty arrays/dicts. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>01f3ce5 -
ruff format
FabrizioSandridd4d75e -
Check for non empty array and dictionary parameter
FabrizioSandri74ef555
-
Fix OpenAPI deepObject style parameter encoding (#1122)
Jeremiah Lowin +1: ClaudeUnverified signature* Fix OpenAPI deepObject style parameter encoding Add support for deepObject style with explode=true to properly serialize object parameters using bracket notation (param[key]=value) instead of JSON strings. Fixes #1114. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * Create README_OPENAPI.md --------- Co-authored-by: Claude <noreply@anthropic.com>c21d179
-
Fix OpenAPI parameter name collisions with location suffixing
Jeremiah Lowin +1: ClaudeResolves parameter conflicts when same name appears in path/query/header and request body by adding double underscore suffixes (id__path, id__query). Body parameters keep original names for natural REST API patterns. Closes #1100 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>7004e72 -
Fix OpenAPI tool name registration when modified by mcp_component_fn (#1096)
Jeremiah Lowin +1: ClaudeUnverified signatureResolves issue where tools modified by mcp_component_fn were registered with original names but accessible with modified names, causing "Unknown tool" errors. Now tools are registered using their final modified names. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Claude <noreply@anthropic.com>25428f8
-
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
-
Refactor array parameter formatting to reduce code duplication
Jeremiah LowinExtract common array formatting logic into format_array_parameter utility function. Addresses automated review feedback about code duplication between path and query parameter handling.71ef915 -
Fix OpenAPI array parameter explode handling
Jeremiah Lowin4a8c120
-
Update all tests
Jeremiah Lowin3a9d761
-
Add structured content & update almost all tests
Jeremiah Lowinaa46c09
-
Update types and tests for upcoming SDK release
Jeremiah Lowin3c4246c
-
Add audio support
Jeremiah Lowin8dc263e
-
Make deprecation warnings visible and controllable
Jeremiah Lowin905120e -
Add tests
Jeremiah Lowin2281d7e -
Clean up route maps
Jeremiah Lowin00da27f
-
Treat all openapi routes as tools
Jeremiah Lowin2cbf3b1
-
Don't store exclude args as attribute
Jeremiah Lowincf04a1f
-
Formalize template/functiontemplate
Jeremiah Lowin4dee55e -
Split Tool into Tool and FunctionTool
Jeremiah Lowincba81f4
-
feat(tool): add support for excluding arguments from tool definition
deepak-stratforgeThis introduces an `exclude_args` parameter to omit specified arguments (such as `state`, `memory`, etc.). It will exclude the mentioned args from the schema sent to the LLM and still allow them to be passed when the tool is called. This doesn't come with the MCP protocol but can be useful in many use cases.c5ee465
-
Ensure content-length is always stripped from client headers
Jeremiah Lowinc14bd76
-
add name tests
Jeremiah Lowinef08a5c -
Update name generation
Jeremiah Lowin451db43 -
Use lowercase name for headers
Jeremiah Lowin2f2fec7 -
Pass client headers through to OpenAPI client
Jeremiah Lowinac33644 -
Update openapi.py
Jeremiah Lowin40feb9b -
Split into routemapfn and mcpcomponentfn
Jeremiah Lowinca8cdf5 -
Add route_map_fn for fine control
Jeremiah Lowin3993fde -
Add support for RouteMap tags, update docs
Jeremiah Lowind625dbe -
Remove custom names
Jeremiah Lowinc997d33
-
Add custom naming and deprecate all_routes_as_tools
Jeremiah Lowin7af7032 -
Update route map logic
Jeremiah Lowinf477a70
-
Allow * Methods and all routes as tools shortcuts
Jeremiah Lowin0410d0d -
Update tests
Jeremiah Lowin75a8748 -
Unify openapi 3.0 and 3.1 parsing
Jeremiah Lowin74f10a8 -
Ensure openapi path params are handled properly
Jeremiah Lowinb4e78d2
-
Add reprs for OpenAPI objects
Jeremiah Lowine1a4799
-
Improve error handling for tools and resources
Jeremiah Lowin2c75133
-
Refactor context to avoid unecessary passing
Jeremiah Lowin1534a61
-
Finish removing
Jeremiah Lowin3135ef6 -
Replace custom parsing with TypeAdapter
Jeremiah Lowin388409a
-
Fix typing issue
Jeremiah Lowin007c3be
-
Add support for annotations
Jeremiah Lowinc2a9892
-
Ensure openapi descriptions are included in tool details
Jeremiah Lowin71d1f33
-
Improve OpenAPI param handling
Jeremiah Lowin70737e6 -
Ensure openapi tool responses are properly converted
Jeremiah Lowin9dc2a8a -
Merge pull request #279 from jlowin/timeout
Jeremiah LowinUnverified signatureExpose configurable timeout for OpenAPI1c06214