Elffuss BraidHub

kikocis/continue public

main · 848 BRawPermalink
1import { Tool } from "../..";
2
3import { BUILT_IN_GROUP_NAME, BuiltInToolNames } from "../builtIn";
4
5export const viewRepoMapTool: Tool = {
6 type: "function",
7 displayTitle: "View Repo Map",
8 wouldLikeTo: "view the repository map",
9 isCurrently: "getting the repository map",
10 hasAlready: "viewed the repository map",
11 readonly: true,
12 isInstant: true,
13 group: BUILT_IN_GROUP_NAME,
14 function: {
15 name: BuiltInToolNames.ViewRepoMap,
16 description: "View the repository map",
17 parameters: {
18 type: "object",
19 properties: {},
20 },
21 },
22 systemMessageDescription: {
23 prefix: `To view the repository map, use the ${BuiltInToolNames.ViewRepoMap} tool. This will provide a visual representation of the project's structure and organization.`,
24 },
25 defaultToolPolicy: "allowedWithPermission",
26 toolCallIcon: "MapIcon",
27};