MCPcopy Create free account
hub / github.com/github/copilot-sdk / reload

Method reload

python/copilot/generated/rpc.py:26077–26079  ·  view source on GitHub ↗

Reloads MCP server connections for the session.

(self, *, timeout: float | None = None)

Source from the content-addressed store, hash-verified

26075 await self._client.request("session.mcp.disable", params_dict, **_timeout_kwargs(timeout))
26076
26077 async def reload(self, *, timeout: float | None = None) -> None:
26078 "Reloads MCP server connections for the session."
26079 await self._client.request("session.mcp.reload", {"sessionId": self._session_id}, **_timeout_kwargs(timeout))
26080
26081 async def execute_sampling(self, params: MCPExecuteSamplingParams, *, timeout: float | None = None) -> MCPSamplingExecutionResult:
26082 "Runs an MCP sampling inference on behalf of an MCP server.\n\nArgs:\n params: Identifiers and raw MCP CreateMessageRequest params used to run a sampling inference.\n\nReturns:\n Outcome of an MCP sampling execution: success result, failure error, or cancellation."

Calls 2

_timeout_kwargsFunction · 0.85
requestMethod · 0.45