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

Method readFile

nodejs/src/generated/rpc.ts:16878–16878  ·  view source on GitHub ↗

* Reads a file from the client-provided session filesystem. * * @param params Path of the file to read from the client-provided session filesystem. * * @returns File content as a UTF-8 string, or a filesystem error if the read failed.

(params: SessionFsReadFileRequest)

Source from the content-addressed store, hash-verified

16876 * @returns File content as a UTF-8 string, or a filesystem error if the read failed.
16877 */
16878 readFile(params: SessionFsReadFileRequest): Promise<SessionFsReadFileResult>;
16879 /**
16880 * Writes a file in the client-provided session filesystem.
16881 *

Callers 15

generateFunction · 0.65
loadSchemaJsonFunction · 0.65
generateSessionEventsFunction · 0.65
generateRpcTypesFunction · 0.65
generateRpcWrappersFunction · 0.65
readFileFunction · 0.65
readFileFunction · 0.65

Calls

no outgoing calls

Tested by 4

readFileFunction · 0.52
readFileFunction · 0.52
readFileFunction · 0.52