Skip to content

MessageMcpNotification

Base classes

Name Children Inherits
AnnotatedObject
aclientp.schema.base
Base class for generated models.

⋔ Inheritance diagram

graph TD
  95970855761424["mcp.MessageMcpNotification"]
  95970862258240["base.AnnotatedObject"]
  95970862254416["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970862258240 --> 95970855761424
  95970862254416 --> 95970862258240
  95970851503232 --> 95970862254416
  125067848591872 --> 95970851503232

🛈 DocStrings

Bases: AnnotatedObject

UNSTABLE: An inner MCP notification tied to an active inner MCP request.

Source code in src/aclientp/schema/mcp.py
class MessageMcpNotification(AnnotatedObject):
    """**UNSTABLE**: An inner MCP notification tied to an active inner MCP request."""

    server_id: McpServerAcpId
    """The declared ACP MCP server handling the associated request."""

    request_id: McpRequestId
    """The identifier of the active inner MCP request."""

    method: str
    """The inner MCP method name."""

    params: dict[str, Any] | None = None
    """Optional inner MCP params."""

method instance-attribute

method: str

The inner MCP method name.

params class-attribute instance-attribute

params: dict[str, Any] | None = None

Optional inner MCP params.

request_id instance-attribute

request_id: McpRequestId

The identifier of the active inner MCP request.

server_id instance-attribute

server_id: McpServerAcpId

The declared ACP MCP server handling the associated request.

:fa-brands-github: Show source on GitHub