MCPcopy
hub / github.com/modelcontextprotocol/python-sdk / send_raw_request

Method send_raw_request

src/mcp/shared/peer.py:76–82  ·  view source on GitHub ↗
(
        self,
        method: str,
        params: Mapping[str, Any] | None,
        opts: CallOptions | None = None,
    )

Source from the content-addressed store, hash-verified

74 self._outbound = outbound
75
76 async def send_raw_request(
77 self,
78 method: str,
79 params: Mapping[str, Any] | None,
80 opts: CallOptions | None = None,
81 ) -> dict[str, Any]:
82 return await self._outbound.send_raw_request(method, params, opts)
83
84 async def notify(self, method: str, params: Mapping[str, Any] | None, opts: CallOptions | None = None) -> None:
85 await self._outbound.notify(method, params, opts)

Callers 7

sampleMethod · 0.95
elicit_formMethod · 0.95
elicit_urlMethod · 0.95
list_rootsMethod · 0.95
pingMethod · 0.95
send_requestMethod · 0.45
send_discoverMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected