feat: add AudioContent support to MCP schema (#243)
- Add AudioContent record class implementing Annotated and Content interfaces - Update Content sealed interface to permit AudioContent - Add audio type handling in Content.type() method - Include AudioContent in JsonSubTypes annotation for polymorphic deserialization - Add comprehensive tests for AudioContent serialization and deserialization - Update error message test to include audio in known type ids https://github.com/modelcontextprotocol/modelcontextprotocol/blob/c87a0da6d8c2436d56a6398023c80b0562224454/schema/2025-03-26/schema.ts#L987-L1009
Loading
Please sign in to comment