MCPcopy Index your code
hub / github.com/github/copilot-sdk / read

Method read

python/copilot/generated/rpc.py:25733–25735  ·  view source on GitHub ↗

Reads the session plan file from the workspace.\n\nReturns:\n Existence, contents, and resolved path of the session plan file.

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

Source from the content-addressed store, hash-verified

25731 self._session_id = session_id
25732
25733 async def read(self, *, timeout: float | None = None) -> PlanReadResult:
25734 "Reads the session plan file from the workspace.\n\nReturns:\n Existence, contents, and resolved path of the session plan file."
25735 return PlanReadResult.from_dict(await self._client.request("session.plan.read", {"sessionId": self._session_id}, **_timeout_kwargs(timeout)))
25736
25737 async def update(self, params: PlanUpdateRequest, *, timeout: float | None = None) -> None:
25738 "Writes new content to the session plan file.\n\nArgs:\n params: Replacement contents to write to the session plan file."

Calls 3

_timeout_kwargsFunction · 0.85
from_dictMethod · 0.45
requestMethod · 0.45