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

#include <types.hpp>

Public Attributes

std::string node_id
 ID of the node that spawned the subagent. More...
 
std::string tool_use_id
 Unique ID of this spawn; matches the finished event. More...
 
int64_t started_at
 Start time, Unix timestamp in seconds. More...
 
std::string goal
 Goal assigned to the subagent. More...
 
std::string prompt
 Full task prompt given to the subagent. More...
 
std::string subagent_id
 Subagent identifier; may be empty. More...
 
std::string tools_json
 

Detailed Description

Payload of a SubagentStarted conversation stream event. When the Agent spawns a subagent to work on a sub-task, the subagent's lifecycle is reported with this dedicated event family instead of NodeToolUse*.

Member Data Documentation

◆ goal

std::string longbridge::agent::SubagentStartedPayload::goal

Goal assigned to the subagent.

◆ node_id

std::string longbridge::agent::SubagentStartedPayload::node_id

ID of the node that spawned the subagent.

◆ prompt

std::string longbridge::agent::SubagentStartedPayload::prompt

Full task prompt given to the subagent.

◆ started_at

int64_t longbridge::agent::SubagentStartedPayload::started_at

Start time, Unix timestamp in seconds.

◆ subagent_id

std::string longbridge::agent::SubagentStartedPayload::subagent_id

Subagent identifier; may be empty.

◆ tool_use_id

std::string longbridge::agent::SubagentStartedPayload::tool_use_id

Unique ID of this spawn; matches the finished event.

◆ tools_json

std::string longbridge::agent::SubagentStartedPayload::tools_json

Tools granted to the subagent, as a JSON array string; empty when absent


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