ForestHub SDK 0.1.0
C++14 LLM SDK for PC and embedded platforms
Loading...
Searching...
No Matches
foresthub::core::ToolResult Class Reference

Output of an executed tool. More...

#include <tools.hpp>

Inheritance diagram for foresthub::core::ToolResult:
foresthub::core::InputItem

Public Member Functions

InputItemType GetItemType () const override
 Identifies this item as a tool execution result.
std::string ToString () const override
 Human-readable summary of the tool output.
void ToJson (json &j) const override
 Serialize this tool result to JSON.

Public Attributes

std::string call_id
 Matching call identifier from the request.
std::string name
 Name of the tool that produced this result.
json output
 Tool return value (string or structured JSON).

Detailed Description

Output of an executed tool.


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