18 lines
401 B
TypeScript
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: {},
|
|
},
|
|
},
|
|
};
|