One MCP revision (see the module docstring).
Attributes#
| Attribute | Type | Description |
|---|---|---|
protocol_version | V_co | |
runtime | Runtime | |
accepts_batches | bool | |
requires_version_header | bool | |
is_stateless | bool | |
supports_audio | bool | Audio content, tool annotations, the |
supports_structured_content | bool |
|
supports_icons | bool | Icons, |
supports_any_structured_content | bool |
|
reports_tool_errors_as_results | bool | A tool's invalid input or execution failure is an |
resource_not_found_code | int | The error code of an unknown resource URI. |
Functions#
__init__#
__init__(protocol_version, runtime, accepts_batches, requires_version_header) -> None| Parameter | Type | Description |
|---|---|---|
protocol_version | V_co | |
runtime | Runtime | |
accepts_batches | bool | |
requires_version_header | bool |