Expand description
Built-in tools module
Provides a collection of commonly used tools that can be registered with the ToolPlugin.
Re-exports§
pub use crate::ToolCall;pub use crate::ToolDefinition;pub use crate::ToolExecutor;pub use crate::ToolPlugin;pub use crate::ToolResult;pub use calculator::CalculatorTool;pub use datetime::DateTimeTool;pub use filesystem::FileSystemTool;pub use http::HttpRequestTool;pub use json::JsonTool;pub use medical_knowledge::MedicalKnowledgeTool;pub use response_optimizer::ResponseOptimizerTool;pub use rhai::RhaiScriptTool;pub use shell::ShellCommandTool;
Modules§
Traits§
- Agent
Plugin - 核心插件 trait
Functions§
- create_
builtin_ tool_ plugin - Convenience function to create a ToolPlugin with all built-in tools
Type Aliases§
- Plugin
Result - 插件执行结果