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

Function call

tests/shared/test_jsonrpc_dispatcher.py:91–92  ·  view source on GitHub ↗
(method: str)

Source from the content-addressed store, hash-verified

89 results: dict[str, dict[str, Any]] = {}
90
91 async def call(method: str) -> None:
92 results[method] = await client.send_raw_request(method, None)
93
94 with anyio.fail_after(5):
95 async with anyio.create_task_group() as tg: # pragma: no branch

Callers

nothing calls this directly

Calls 4

CallToolRequestClass · 0.90
send_raw_requestMethod · 0.45
send_requestMethod · 0.45

Tested by

no test coverage detected