Re-exports§
pub use error::ToolError;pub use context::ToolContext;pub use context::ToolDefinition;pub use context::ToolOptions;pub use context::ToolResult;pub use base::PermissionBehavior;pub use base::PermissionCheckResult;pub use base::Tool;pub use registry::McpToolWrapper;pub use registry::PermissionRequestCallback;pub use registry::ToolRegistry;pub use hooks::ErrorTrackingHook;pub use hooks::FileOperationHook;pub use hooks::HookContext;pub use hooks::HookTrigger;pub use hooks::LoggingHook;pub use hooks::ToolHook;pub use hooks::ToolHookManager;pub use task::TaskManager;pub use task::TaskState;pub use task::TaskStatus;pub use task::DEFAULT_MAX_CONCURRENT;pub use task::DEFAULT_MAX_RUNTIME_SECS;pub use bash::BashTool;pub use bash::SafetyCheckResult;pub use bash::SandboxConfig;pub use bash::MAX_OUTPUT_LENGTH;pub use file::compute_content_hash;pub use file::EditTool;pub use file::FileReadHistory;pub use file::FileReadRecord;pub use file::ReadTool;pub use file::WriteTool;pub use search::GlobTool;pub use search::GrepOutputMode;pub use search::GrepTool;pub use search::SearchResult;pub use search::DEFAULT_MAX_CONTEXT_LINES;pub use search::DEFAULT_MAX_RESULTS;pub use search::MAX_OUTPUT_SIZE;pub use ask::AskCallback;pub use ask::AskOption;pub use ask::AskResult;pub use ask::AskTool;pub use ask::DEFAULT_ASK_TIMEOUT_SECS;pub use lsp::CompletionItem;pub use lsp::CompletionItemKind;pub use lsp::Diagnostic;pub use lsp::DiagnosticSeverity;pub use lsp::HoverInfo;pub use lsp::Location;pub use lsp::LspCallback;pub use lsp::LspOperation;pub use lsp::LspResult;pub use lsp::LspTool;pub use lsp::Position;pub use lsp::Range;pub use crate::skills::SkillTool;pub use kill_shell_tool::KillShellTool;pub use notebook_edit_tool::NotebookCell;pub use notebook_edit_tool::NotebookContent;pub use notebook_edit_tool::NotebookEditInput;pub use notebook_edit_tool::NotebookEditTool;pub use plan_mode_tool::EnterPlanModeTool;pub use plan_mode_tool::ExitPlanModeTool;pub use plan_mode_tool::PlanModeState;pub use plan_mode_tool::SavedPlan;pub use task_output_tool::TaskOutputTool;pub use task_tool::TaskTool;pub use three_files_tool::DecisionInfo;pub use three_files_tool::ErrorInfo;pub use three_files_tool::PhaseUpdate;pub use three_files_tool::ThreeStageWorkflowTool;pub use three_files_tool::WorkflowParams;pub use todo_write_tool::TodoItem;pub use todo_write_tool::TodoStatus;pub use todo_write_tool::TodoStorage;pub use todo_write_tool::TodoWriteTool;pub use web::clear_web_caches;pub use web::get_web_cache_stats;pub use web::WebCache;pub use web::WebFetchTool;pub use web::WebSearchTool;pub use analyze_image::AnalyzeImageTool;pub use analyze_image::AnalyzeImageInput;pub use analyze_image::AnalyzeImageResult;pub use analyze_image::ImageDimensions;pub use workflow_integration::WorkflowIntegratedTool;pub use workflow_integration::WorkflowIntegratedToolBuilder;
Modules§
- analyze_
image - 图片分析工具
- ask
- Ask Tool Implementation
- base
- Tool Base Trait and Types
- bash
- Bash Tool Implementation
- context
- Tool Context and Configuration Types
- error
- Tool Error Types
- file
- File Tools Module
- hooks
- 工具钩子系统
- kill_
shell_ tool - Kill Shell Tool Implementation
- lsp
- LSP Tool Implementation
- notebook_
edit_ tool - Notebook Edit Tool Implementation
- plan_
mode_ tool - registry
- Tool Registry Module
- search
- Search Tools Module
- task
- Task Manager for Background Task Execution
- task_
output_ tool - TaskOutput Tool - 任务输出查询工具
- task_
tool - Task Tool - 后台任务管理工具
- three_
files_ tool - todo_
write_ tool - Todo Write Tool Implementation
- web
- Web 工具 - WebFetch 和 WebSearch
- workflow_
integration - 工具钩子系统集成示例
Structs§
- Tool
Registration Config - Configuration for tool registration
Functions§
- register_
all_ tools - Register all native tools with the registry
- register_
default_ tools - Register all native tools with default configuration