forgeant docs-test-0
Build LLM-powered agents in C++
Loading...
Searching...
No Matches
forgeant::ToolRegistry Class Reference

#include <registry.hpp>

Public Member Functions

void add (Tool tool)
 
const Toolget (const std::string &name) const
 
bool has (const std::string &name) const
 
Json execute (const std::string &name, const Json &args) const
 
std::vector< ToolViewtools () const
 
size_t size () const
 

Member Function Documentation

◆ add()

void forgeant::ToolRegistry::add ( Tool  tool)

◆ execute()

Json forgeant::ToolRegistry::execute ( const std::string &  name,
const Json args 
) const

◆ get()

const Tool & forgeant::ToolRegistry::get ( const std::string &  name) const

◆ has()

bool forgeant::ToolRegistry::has ( const std::string &  name) const

◆ size()

size_t forgeant::ToolRegistry::size ( ) const

◆ tools()

std::vector< ToolView > forgeant::ToolRegistry::tools ( ) const

The documentation for this class was generated from the following file: