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

Payload of a SubagentFinished conversation stream event. More...

#include <types.hpp>

Public Attributes

std::string node_id
 ID of the node that spawned the subagent. More...
 
std::string tool_use_id
 Matches the tool_use_id of SubagentStarted. More...
 
std::string status
 succeeded / failed More...
 
int64_t started_at
 Start time, Unix timestamp in seconds. More...
 
double elapsed_time
 Total subagent duration in seconds. More...
 
std::string error
 Error description on failure. More...
 
SubagentOutputs outputs
 Subagent result: goal, result, and the timeline of tool calls it made. More...
 

Detailed Description

Payload of a SubagentFinished conversation stream event.

Member Data Documentation

◆ elapsed_time

double longbridge::agent::SubagentFinishedPayload::elapsed_time

Total subagent duration in seconds.

◆ error

std::string longbridge::agent::SubagentFinishedPayload::error

Error description on failure.

◆ node_id

std::string longbridge::agent::SubagentFinishedPayload::node_id

ID of the node that spawned the subagent.

◆ outputs

SubagentOutputs longbridge::agent::SubagentFinishedPayload::outputs

Subagent result: goal, result, and the timeline of tool calls it made.

◆ started_at

int64_t longbridge::agent::SubagentFinishedPayload::started_at

Start time, Unix timestamp in seconds.

◆ status

std::string longbridge::agent::SubagentFinishedPayload::status

succeeded / failed

◆ tool_use_id

std::string longbridge::agent::SubagentFinishedPayload::tool_use_id

Matches the tool_use_id of SubagentStarted.


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