Longbridge OpenAPI C++ SDK
Public Attributes | List of all members
longbridge::agent::NodeToolUseFinishedPayload Struct Reference

#include <types.hpp>

Public Attributes

std::string tool_use_id
 Matches the tool_use_id of the started event. More...
 
std::string status
 succeeded / failed More...
 
std::string error
 Error description on failure. More...
 
double elapsed_time
 Call duration in seconds. More...
 
int64_t started_at
 Start time, Unix timestamp in seconds. More...
 
std::string tool_name
 Localized display name. More...
 
std::string tool_func_name
 Locale-stable tool identifier. More...
 
std::string tool_args
 Call arguments as a JSON string. More...
 
std::string tool_type
 Tool category. More...
 
std::string tips
 Progress text. More...
 
std::vector< std::string > tip_chips
 Short tags; may be empty. More...
 
int32_t iteration
 Round number. More...
 
bool is_thinking
 true if the call happened during the thinking phase More...
 
NodeToolUseOutputs outputs
 Filtered call results, for display. More...
 

Detailed Description

Payload of a NodeToolUseFinished conversation stream event — the tool call has ended.

Member Data Documentation

◆ elapsed_time

double longbridge::agent::NodeToolUseFinishedPayload::elapsed_time

Call duration in seconds.

◆ error

std::string longbridge::agent::NodeToolUseFinishedPayload::error

Error description on failure.

◆ is_thinking

bool longbridge::agent::NodeToolUseFinishedPayload::is_thinking

true if the call happened during the thinking phase

◆ iteration

int32_t longbridge::agent::NodeToolUseFinishedPayload::iteration

Round number.

◆ outputs

NodeToolUseOutputs longbridge::agent::NodeToolUseFinishedPayload::outputs

Filtered call results, for display.

◆ started_at

int64_t longbridge::agent::NodeToolUseFinishedPayload::started_at

Start time, Unix timestamp in seconds.

◆ status

std::string longbridge::agent::NodeToolUseFinishedPayload::status

succeeded / failed

◆ tip_chips

std::vector<std::string> longbridge::agent::NodeToolUseFinishedPayload::tip_chips

Short tags; may be empty.

◆ tips

std::string longbridge::agent::NodeToolUseFinishedPayload::tips

Progress text.

◆ tool_args

std::string longbridge::agent::NodeToolUseFinishedPayload::tool_args

Call arguments as a JSON string.

◆ tool_func_name

std::string longbridge::agent::NodeToolUseFinishedPayload::tool_func_name

Locale-stable tool identifier.

◆ tool_name

std::string longbridge::agent::NodeToolUseFinishedPayload::tool_name

Localized display name.

◆ tool_type

std::string longbridge::agent::NodeToolUseFinishedPayload::tool_type

Tool category.

◆ tool_use_id

std::string longbridge::agent::NodeToolUseFinishedPayload::tool_use_id

Matches the tool_use_id of the started event.


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