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