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

Payload of an AgentToolFinished conversation stream event. More...

#include <types.hpp>

Public Attributes

std::string node_id
 ID of the calling node. More...
 
std::string tool_use_id
 Matches the tool_use_id of AgentToolStarted. More...
 
std::string agent_tool_name
 Identifier of the Agent being called. More...
 
std::string status
 succeeded / failed More...
 
int64_t started_at
 Start time, Unix timestamp in seconds. More...
 
double elapsed_time
 Total duration in seconds. More...
 
std::string error
 Error description on failure. More...
 
std::string tool_args
 Call arguments as a JSON string. More...
 
std::string outputs_json
 Result of the delegated Agent, as a JSON string; empty when absent. More...
 
std::string tool_type
 Tool category. More...
 
std::string tips
 Progress text; may be empty. More...
 
std::vector< std::string > tip_chips
 Short tags; may be empty. More...
 
bool is_thinking
 true if during the thinking phase More...
 

Detailed Description

Payload of an AgentToolFinished conversation stream event.

Member Data Documentation

◆ agent_tool_name

std::string longbridge::agent::AgentToolFinishedPayload::agent_tool_name

Identifier of the Agent being called.

◆ elapsed_time

double longbridge::agent::AgentToolFinishedPayload::elapsed_time

Total duration in seconds.

◆ error

std::string longbridge::agent::AgentToolFinishedPayload::error

Error description on failure.

◆ is_thinking

bool longbridge::agent::AgentToolFinishedPayload::is_thinking

true if during the thinking phase

◆ node_id

std::string longbridge::agent::AgentToolFinishedPayload::node_id

ID of the calling node.

◆ outputs_json

std::string longbridge::agent::AgentToolFinishedPayload::outputs_json

Result of the delegated Agent, as a JSON string; empty when absent.

◆ started_at

int64_t longbridge::agent::AgentToolFinishedPayload::started_at

Start time, Unix timestamp in seconds.

◆ status

std::string longbridge::agent::AgentToolFinishedPayload::status

succeeded / failed

◆ tip_chips

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

Short tags; may be empty.

◆ tips

std::string longbridge::agent::AgentToolFinishedPayload::tips

Progress text; may be empty.

◆ tool_args

std::string longbridge::agent::AgentToolFinishedPayload::tool_args

Call arguments as a JSON string.

◆ tool_type

std::string longbridge::agent::AgentToolFinishedPayload::tool_type

Tool category.

◆ tool_use_id

std::string longbridge::agent::AgentToolFinishedPayload::tool_use_id

Matches the tool_use_id of AgentToolStarted.


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