Files
cline-multi-mirror/src/shared/tools.ts
T
Bee 0b1a237290 Unify tool name vars (#6012)
* Use ClineDefaultTool

* Use ClineDefaultTool
2025-09-05 11:18:55 -07:00

29 lines
868 B
TypeScript

// Define available tool ids
export enum ClineDefaultTool {
ASK = "ask_followup_question",
ATTEMPT = "attempt_completion",
BASH = "execute_command",
FILE_EDIT = "replace_in_file",
FILE_READ = "read_file",
FILE_NEW = "write_to_file",
SEARCH = "search_files",
LIST_FILES = "list_files",
LIST_CODE_DEF = "list_code_definition_names",
BROWSER = "browser_action",
MCP_USE = "use_mcp_tool",
MCP_ACCESS = "access_mcp_resource",
MCP_DOCS = "load_mcp_documentation",
NEW_TASK = "new_task",
PLAN_MODE = "plan_mode_respond",
TODO = "focus_chain",
WEB_FETCH = "web_fetch",
CONDENSE = "condense",
SUMMARIZE_TASK = "summarize_task",
REPORT_BUG = "report_bug",
NEW_RULE = "new_rule",
}
// Array of all tool names for compatibility
// Automatically generated from the enum values
export const toolUseNames = Object.values(ClineDefaultTool) as ClineDefaultTool[]