MCPcopy Index your code
hub / github.com/modelcontextprotocol/python-sdk / _OutboundPlan

Class _OutboundPlan

src/mcp/shared/jsonrpc_dispatcher.py:194–198  ·  view source on GitHub ↗

Outbound metadata plus whether abandoning the request sends a courtesy `notifications/cancelled`.

Source from the content-addressed store, hash-verified

192
193@dataclass(slots=True, frozen=True)
194class _OutboundPlan:
195 """Outbound metadata plus whether abandoning the request sends a courtesy `notifications/cancelled`."""
196
197 metadata: MessageMetadata
198 cancel_on_abandon: bool
199
200
201def _plan_outbound(related_request_id: RequestId | None, opts: CallOptions | None) -> _OutboundPlan:

Calls

no outgoing calls