continue-custom/core/tools/definitions/viewDiff.ts
2025-03-21 11:35:38 -07:00

19 lines
452 B
TypeScript

import { Tool } from "../..";
import { BUILT_IN_GROUP_NAME, BuiltInToolNames } from "../builtIn";
export const viewDiffTool: Tool = {
type: "function",
displayTitle: "View Diff",
wouldLikeTo: "view a diff",
readonly: true,
group: BUILT_IN_GROUP_NAME,
function: {
name: BuiltInToolNames.ViewDiff,
description: "View the current diff of working changes",
parameters: {
type: "object",
properties: {},
},
},
};