Expand description
Response helpers for dual-format MCP responses
This module provides utilities for creating MCP responses that support both unstructured content (JSON as text) and structured content (direct JSON access) according to the MCP 2025-06-18 specification.
Functionsยง
- create_
dual_ response - Create a dual-format response containing both unstructured and structured content
- create_
error_ response - Create an error response with dual format