nxt::ai::tools::function_call struct

Function-call item emitted by a Responses model.

Public variables

std::string id
Output item id, when present.
std::string call_id
Stable call id used when returning function_call_output.
std::string name
Tool name selected by the model.
std::string arguments
Raw JSON argument string from the response item.
nlohmann::json item
Original response output item.