NeuralPlus 0.2.0
A small C++17 SDK for AI clients, sessions, tools, and tracing
Loading...
Searching...
No Matches
neuralplus::ToolCall Struct Reference

A normalized provider-requested tool call. More...

#include <types.hpp>

Public Attributes

std::string id
 Provider call identifier used to correlate the tool result.
 
std::string name
 Tool name requested by the provider.
 
JsonValue arguments = JsonValue::object()
 Parsed arguments. This is an empty object when parsing failed.
 
std::string raw_arguments {"{}"}
 Original provider argument text, retained even when it is malformed.
 
bool arguments_valid {true}
 Whether raw_arguments parsed successfully.
 
JsonValue provider_metadata = JsonValue::object()
 Opaque provider fields needed for exact continuation replay.
 

Detailed Description

A normalized provider-requested tool call.

Examples
simple_session.cpp.

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