/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ /** * Centralized tool name constants. * * This module exists to prevent circular dependencies - tool names can be * imported without importing tool classes. For example, config modules and * tests can reference tool names without creating circular dependency chains. */ export declare const GOOGLE_WEB_SEARCH_TOOL = "google_web_search"; export declare const EXA_WEB_SEARCH_TOOL = "exa_web_search"; export declare const EDIT_TOOL_NAME = "replace"; export declare const GREP_TOOL_NAME = "search_file_content"; export declare const READ_MANY_FILES_TOOL_NAME = "read_many_files"; export declare const READ_FILE_TOOL_NAME = "read_file"; export declare const READ_FILE_TOOL = "read_file"; export declare const WRITE_FILE_TOOL = "write_file"; export declare const EDIT_TOOL = "replace"; export declare const INSERT_AT_LINE_TOOL = "insert_at_line"; export declare const DELETE_LINE_RANGE_TOOL = "delete_line_range"; export declare const READ_LINE_RANGE_TOOL = "read_line_range"; export declare const READ_MANY_FILES_TOOL = "read_many_files"; export declare const GREP_TOOL = "search_file_content"; export declare const RIPGREP_TOOL = "ripgrep"; export declare const GLOB_TOOL = "glob"; export declare const LS_TOOL = "ls"; export declare const LIST_DIRECTORY_TOOL = "list_directory"; export declare const CODE_SEARCH_TOOL = "code_search"; export declare const GOOGLE_WEB_FETCH_TOOL = "web_fetch"; export declare const DIRECT_WEB_FETCH_TOOL = "direct_web_fetch"; export declare const TASK_TOOL = "task"; export declare const MEMORY_TOOL = "memory"; export declare const TODO_READ_TOOL = "todo_read"; export declare const TODO_WRITE_TOOL = "todo_write"; export declare const TODO_PAUSE_TOOL = "todo_pause"; export declare const LIST_SUBAGENTS_TOOL = "list_subagents"; export declare const SHELL_TOOL = "shell"; export declare const AST_GREP_TOOL = "ast_grep"; export declare const STRUCTURAL_ANALYSIS_TOOL = "structural_analysis"; export declare const APPLY_PATCH_TOOL = "apply_patch"; /** * Set of edit tool names for checkpointing and restore operations */ export declare const EDIT_TOOL_NAMES: Set; /** * Union type of all tool names for type safety */ export type ToolName = typeof GOOGLE_WEB_SEARCH_TOOL | typeof EXA_WEB_SEARCH_TOOL | typeof READ_FILE_TOOL | typeof WRITE_FILE_TOOL | typeof EDIT_TOOL | typeof INSERT_AT_LINE_TOOL | typeof DELETE_LINE_RANGE_TOOL | typeof READ_LINE_RANGE_TOOL | typeof READ_MANY_FILES_TOOL | typeof GREP_TOOL | typeof RIPGREP_TOOL | typeof GLOB_TOOL | typeof LS_TOOL | typeof LIST_DIRECTORY_TOOL | typeof CODE_SEARCH_TOOL | typeof GOOGLE_WEB_FETCH_TOOL | typeof DIRECT_WEB_FETCH_TOOL | typeof TASK_TOOL | typeof MEMORY_TOOL | typeof TODO_READ_TOOL | typeof TODO_WRITE_TOOL | typeof TODO_PAUSE_TOOL | typeof LIST_SUBAGENTS_TOOL | typeof SHELL_TOOL | typeof AST_GREP_TOOL | typeof STRUCTURAL_ANALYSIS_TOOL | typeof APPLY_PATCH_TOOL;