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

Request from the model to call a tool. More...

#include <tools.hpp>

Inheritance diagram for foresthub::core::ToolCallRequest:
foresthub::core::InputItem

Public Member Functions

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

Public Attributes

std::string call_id
 Provider-assigned call identifier for matching results.
std::string name
 Name of the tool to invoke.
std::string arguments
 Raw JSON string.

Detailed Description

Request from the model to call a tool.


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