12#include <agents-cpp/types.h>
153 const String& description,
154 const std::vector<Parameter>& parameters,
Framework Namespace.
Definition agent.h:18
nlohmann::json JsonObject
JSON object type.
Definition types.h:39
std::string String
String type.
Definition types.h:27
std::function< ToolResult(const JsonObject &)> ToolCallback
Callback type for tool execution.
Definition tool.h:41
std::shared_ptr< Tool > createTool(const String &name, const String &description, const std::vector< Parameter > ¶meters, ToolCallback callback)
Create a custom tool with a name, description, parameters, and callback.
std::map< String, Parameter > ParameterMap
Parameter map type.
Definition types.h:78
Parameter type for tools and LLM calls.
Definition types.h:51