MCPcopy Index your code
hub / github.com/sourcebot-dev/sourcebot / readFile.ts

File readFile.ts

packages/web/src/features/tools/readFile.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { z } from "zod";
2import { isServiceError } from "@/lib/utils";
3import { getFileSource } from "@/features/git";
4import { ToolDefinition } from "./types";

Callers

nothing calls this directly

Calls 3

getFileSourceFunction · 0.90
isServiceErrorFunction · 0.90
getRepoInfoByNameFunction · 0.90

Tested by

no test coverage detected