Skip to content

MessageMcpResult

Base classes

Name Children Inherits
AnnotatedObject
aclientp.schema.v2.base
A v2 object with the ``_meta`` extension point.

⋔ Inheritance diagram

graph TD
  95970866225328["mcp.MessageMcpResult"]
  95970868359040["base.AnnotatedObject"]
  95970855946400["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970868359040 --> 95970866225328
  95970855946400 --> 95970868359040
  95970851503232 --> 95970855946400
  125067848591872 --> 95970851503232

🛈 DocStrings

Bases: AnnotatedObject

UNSTABLE: Successful mcp/message outcome: an opaque inner MCP result.

Source code in src/aclientp/schema/v2/mcp.py
class MessageMcpResult(AnnotatedObject):
    """**UNSTABLE**: Successful ``mcp/message`` outcome: an opaque inner MCP result."""

    result: Any
    """The inner MCP result; may be ``None`` (JSON ``null``)."""

result instance-attribute

result: Any

The inner MCP result; may be None (JSON null).

:fa-brands-github: Show source on GitHub