fastmcp.utilities.openapi.schemas
Schema manipulation utilities for OpenAPI operations.
Functions
clean_schema_for_display
extract_output_schema_from_responses
responses: Dictionary of ResponseInfo objects keyed by status codeschema_definitions: Optional schema definitions to include in the output schemaopenapi_version: OpenAPI version string, used to optimize nullable field handling
- MCP-compliant output schema with potential wrapping, or None if no suitable schema found

