Module tool

Module tool 

Source
Expand description

Module defining tool related structs and traits.

The Tool trait defines a simple interface for creating tools that can be used by Agents.

The ToolEmbedding trait extends the Tool trait to allow for tools that can be stored in a vector store and RAGged.

The ToolSet struct is a collection of tools that can be used by an Agent and optionally RAGged.

Modules§

rmcprmcp

Structs§

ToolSet
A struct that holds a set of tools
ToolSetBuilder

Enums§

ToolError
ToolSetError

Traits§

Tool
Trait that represents a simple LLM tool
ToolDyn
Wrapper trait to allow for dynamic dispatch of simple tools
ToolEmbedding
Trait that represents an LLM tool that can be stored in a vector store and RAGged
ToolEmbeddingDyn
Wrapper trait to allow for dynamic dispatch of raggable tools