feat: add read_file tool

This commit is contained in:
2026-05-31 12:11:09 -05:00
parent 3f0d9a80c7
commit 0dc0f7eb53
5 changed files with 49 additions and 10 deletions
+2
View File
@@ -35,6 +35,7 @@ import {
GetReviewCommentsTool,
ListPullRequestReviewsTool,
} from "./reviewComments.ts";
import { ReadFileTool } from "./readFile.ts";
import { SelectModeTool } from "./selectMode.ts";
import { addTools } from "./shared.ts";
import { KillBackgroundTool, ShellTool } from "./shell.ts";
@@ -118,6 +119,7 @@ function buildCommonTools(ctx: ToolContext, outputSchema?: JsonSchema): Tool<any
GitTool(ctx),
GitFetchTool(ctx),
UploadFileTool(ctx),
ReadFileTool(ctx),
];
const isStandalone = ctx.payload.event.trigger === "unknown";