Expand description
Contains the tool system, including the Tool trait and various tool implementations.
§Tools Module
This module provides the framework for creating and managing tools that can be used by agents.
It defines the Tool trait, which all tools must implement, and the ToolRegistry
for managing a collection of tools.
It also includes several built-in tools for common tasks.
Structs§
- Calculator
Tool - A tool for performing basic arithmetic operations.
- Echo
Tool - A tool that echoes back the provided message.
- File
Edit Tool - A tool for editing a file by replacing text.
- FileIO
Tool - A tool for basic file I/O operations.
- File
List Tool - A tool for listing directory contents.
- File
Read Tool - A tool for reading the contents of a file.
- File
Search Tool - A tool for searching for files.
- File
Write Tool - A tool for writing content to a file.
- Function
Definition - The definition of a function that can be called by a tool.
- Http
Request Tool - A tool for making HTTP requests.
- Json
Parser Tool - A tool for parsing and manipulating JSON data.
- MemoryDB
Tool - In-Memory Database Tool
- Parameters
Schema - The schema for the parameters of a function.
- QdrantRAG
Tool - RAG (Retrieval-Augmented Generation) Tool with Qdrant Vector Database
- Shell
Command Tool - A tool for executing shell commands safely.
- System
Info Tool - A tool for retrieving system information.
- Text
Processor Tool - A tool for text processing and manipulation operations.
- Timestamp
Tool - A tool for date/time operations and timestamp manipulation.
- Tool
Definition - The definition of a tool that can be sent to an LLM.
- Tool
Parameter - A parameter for a tool.
- Tool
Registry - A registry for managing a collection of tools.
- Tool
Result - The result of a tool execution.
- WebScraper
Tool - A tool for scraping web content from URLs.
Traits§
- Tool
- A trait for tools that can be used by agents.