Elffuss BraidHub

kikocis/continue public

7c90c1f1ee91 · 327 BRawPermalink
1import { Tool } from "./types.js";
2
3export const exitTool: Tool = {
4 name: "Exit",
5 displayName: "Exit",
6 description:
7 "Exit the current process with status code 1, indicating a failure or error",
8 parameters: {},
9 readonly: false,
10 isBuiltIn: true,
11 run: async (): Promise<string> => {
12 process.exit(1);
13 },
14};