Expand description
Built-in tools module
Provides a collection of commonly used tools that can be registered with the ToolPlugin.
Modules§
Structs§
- Calculator
Tool - 计算器工具 - 数学表达式计算
- Date
Time Tool - 日期时间工具 - 获取当前时间、格式化日期
- File
System Tool - 文件系统工具 - 读写文件、列出目录
- Http
Request Tool - HTTP 请求工具 - 发送网络请求
- Json
Tool - JSON 处理工具 - JSON 解析和操作
- Medical
Knowledge Tool - 医疗知识动态注入工具
- Response
Optimizer Tool - 响应优化插件 - 根据学生反馈调整教学策略
- Rhai
Script Tool - Rhai 脚本执行工具 - 执行 Rhai 脚本
- Shell
Command Tool - Shell 命令工具 - 执行系统命令(受限)
- Tool
Call - 工具调用请求
- Tool
Definition - 工具定义
- Tool
Plugin - 工具插件
- Tool
Result - 工具调用结果
Traits§
- Agent
Plugin - 核心插件 trait
- Tool
Executor - 工具执行器 trait
Functions§
- create_
builtin_ tool_ plugin - Convenience function to create a ToolPlugin with all built-in tools
Type Aliases§
- Plugin
Result - 插件执行结果