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

#include <types.hpp>

Public Attributes

std::string tool_use_id
 Unique ID of this call; matches the finished event. More...
 
std::string tool_name
 Localized display name of the tool. More...
 
std::string tool_func_name
 
std::string tool_args
 Call arguments as a JSON string. More...
 
std::string tips
 
std::vector< std::string > tip_chips
 Short tags accompanying tips; may be empty. More...
 
int32_t iteration
 
int64_t started_at
 Start time, Unix timestamp in seconds. More...
 

Detailed Description

Payload of a NodeToolUseStarted conversation stream event — an ordinary tool call has started. Match it to its NodeToolUseFinished counterpart by tool_use_id.

Member Data Documentation

◆ iteration

int32_t longbridge::agent::NodeToolUseStartedPayload::iteration

Round number. Calls in the same round (same iteration) run in parallel

◆ started_at

int64_t longbridge::agent::NodeToolUseStartedPayload::started_at

Start time, Unix timestamp in seconds.

◆ tip_chips

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

Short tags accompanying tips; may be empty.

◆ tips

std::string longbridge::agent::NodeToolUseStartedPayload::tips

Progress text suitable for direct display, e.g. "Searching the web..."

◆ tool_args

std::string longbridge::agent::NodeToolUseStartedPayload::tool_args

Call arguments as a JSON string.

◆ tool_func_name

std::string longbridge::agent::NodeToolUseStartedPayload::tool_func_name

Locale-stable tool identifier; use this for logic keyed on the tool kind

◆ tool_name

std::string longbridge::agent::NodeToolUseStartedPayload::tool_name

Localized display name of the tool.

◆ tool_use_id

std::string longbridge::agent::NodeToolUseStartedPayload::tool_use_id

Unique ID of this call; matches the finished event.


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