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

#include <types.hpp>

Public Attributes

std::string node_id
 ID of the node that spawned the subagent. More...
 
std::string parent_tool_call_id
 tool_use_id of the owning SubagentStarted event More...
 
std::string subagent_tool_name
 Name of the tool the subagent called. More...
 
std::string subagent_tool_args
 Arguments of that call, as a JSON string. More...
 
std::string subagent_status
 Status of that call: running / succeeded / failed. More...
 
int64_t subagent_duration_ms
 Duration of that call in milliseconds. More...
 
int32_t subagent_iteration
 The subagent's internal round number. More...
 
int64_t started_at
 Start time, Unix timestamp in seconds. More...
 

Detailed Description

Payload of a SubagentProgress conversation stream event, emitted every time the subagent calls one of its own tools. Use it to render a live timeline inside the subagent card.

Member Data Documentation

◆ node_id

std::string longbridge::agent::SubagentProgressPayload::node_id

ID of the node that spawned the subagent.

◆ parent_tool_call_id

std::string longbridge::agent::SubagentProgressPayload::parent_tool_call_id

tool_use_id of the owning SubagentStarted event

◆ started_at

int64_t longbridge::agent::SubagentProgressPayload::started_at

Start time, Unix timestamp in seconds.

◆ subagent_duration_ms

int64_t longbridge::agent::SubagentProgressPayload::subagent_duration_ms

Duration of that call in milliseconds.

◆ subagent_iteration

int32_t longbridge::agent::SubagentProgressPayload::subagent_iteration

The subagent's internal round number.

◆ subagent_status

std::string longbridge::agent::SubagentProgressPayload::subagent_status

Status of that call: running / succeeded / failed.

◆ subagent_tool_args

std::string longbridge::agent::SubagentProgressPayload::subagent_tool_args

Arguments of that call, as a JSON string.

◆ subagent_tool_name

std::string longbridge::agent::SubagentProgressPayload::subagent_tool_name

Name of the tool the subagent called.


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