|
ForestHub SDK 0.1.0
C++14 LLM SDK for PC and embedded platforms
|
Tool with description and parameter schema, handled outside the LLM provider. More...
#include <tools.hpp>
Public Member Functions | |
| virtual std::string | ToolDescription () const =0 |
| Human-readable description of this tool's purpose, sent to the LLM in the tool schema. | |
| virtual const json & | ToolParameters () const =0 |
| JSON schema defining the expected parameters for this tool. | |
| bool | IsExternal () const override |
| Always returns true — this type is an ExternalTool. | |
| Public Member Functions inherited from foresthub::core::Tool | |
| virtual std::string | ToolName () const =0 |
| Returns the unique name identifying this tool in the LLM schema. | |
| virtual ToolType | GetToolType () const =0 |
| Returns the type discriminator for safe downcasting via static_pointer_cast. | |
| virtual void | ToJson (json &j) const =0 |
| Serialize this tool to JSON. | |
Tool with description and parameter schema, handled outside the LLM provider.