MCPcopy Index your code
hub / github.com/codeaashu/claude-code / read

Function read

web/lib/api/files.ts:231–236  ·  view source on GitHub ↗
(path, opts)

Source from the content-addressed store, hash-verified

229 },
230
231 async read(path, opts) {
232 const args: Record<string, unknown> = { path };
233 if (opts?.offset != null) args.offset = opts.offset;
234 if (opts?.limit != null) args.limit = opts.limit;
235 return mcpClient.callTool("read_source_file", args);
236 },
237
238 async search(query, opts) {
239 const args: Record<string, unknown> = { pattern: query };

Callers

nothing calls this directly

Calls 1

callToolMethod · 0.80

Tested by

no test coverage detected