2025-10-01 16:54:00 -04:00
|
|
|
/**
|
|
|
|
|
* @license
|
|
|
|
|
* Copyright 2025 Google LLC
|
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
// Centralized constants for tool names.
|
|
|
|
|
// This prevents circular dependencies that can occur when other modules (like agents)
|
|
|
|
|
// need to reference a tool's name without importing the tool's implementation.
|
|
|
|
|
|
|
|
|
|
export const GLOB_TOOL_NAME = 'glob';
|
2025-10-08 12:34:56 -04:00
|
|
|
export const WRITE_TODOS_TOOL_NAME = 'write_todos';
|
2025-10-09 00:33:31 -04:00
|
|
|
export const WRITE_FILE_TOOL_NAME = 'write_file';
|
2025-10-10 15:51:24 -04:00
|
|
|
export const WEB_SEARCH_TOOL_NAME = 'google_web_search';
|
2025-10-15 22:48:12 -04:00
|
|
|
export const WEB_FETCH_TOOL_NAME = 'web_fetch';
|
2025-10-17 01:35:35 -04:00
|
|
|
export const EDIT_TOOL_NAME = 'replace';
|
2025-10-17 21:07:26 -04:00
|
|
|
export const SHELL_TOOL_NAME = 'run_shell_command';
|
2025-10-19 19:21:47 -04:00
|
|
|
export const GREP_TOOL_NAME = 'search_file_content';
|
|
|
|
|
export const READ_MANY_FILES_TOOL_NAME = 'read_many_files';
|
|
|
|
|
export const READ_FILE_TOOL_NAME = 'read_file';
|
2025-10-19 20:53:53 -04:00
|
|
|
export const LS_TOOL_NAME = 'list_directory';
|
|
|
|
|
export const MEMORY_TOOL_NAME = 'save_memory';
|
2025-12-09 10:08:23 -05:00
|
|
|
export const EDIT_TOOL_NAMES = new Set([EDIT_TOOL_NAME, WRITE_FILE_TOOL_NAME]);
|
2025-12-10 16:14:13 -05:00
|
|
|
export const DELEGATE_TO_AGENT_TOOL_NAME = 'delegate_to_agent';
|