continue-custom/core/tools/definitions/viewRepoMap.ts
2025-04-21 09:12:56 -07:00

22 lines
564 B
TypeScript

import { Tool } from "../..";
import { BUILT_IN_GROUP_NAME, BuiltInToolNames } from "../builtIn";
export const viewRepoMapTool: Tool = {
type: "function",
displayTitle: "View Repo Map",
wouldLikeTo: "view the repository map",
isCurrently: "getting the repository map",
hasAlready: "viewed the repository map",
readonly: true,
isInstant: true,
group: BUILT_IN_GROUP_NAME,
function: {
name: BuiltInToolNames.ViewRepoMap,
description: "View the repository map",
parameters: {
type: "object",
properties: {},
},
},
};