continue-custom/core/tools/definitions/viewDiff.ts
2024-11-29 08:38:26 -08:00

18 lines
401 B
TypeScript

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