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

A single interaction requested while an Agent workflow is paused. More...

#include <types.hpp>

Public Attributes

std::string tool_call_id
 Tool call that requested the interaction. More...
 
std::string interrupt_id
 Stable key expected by the answers map when continuing. More...
 
std::string interaction_type
 Interaction type such as ask_human or trade_password More...
 
std::string tool_name
 Human-readable tool name. More...
 
std::vector< Questionquestions
 Questions and answer options presented to the user. More...
 
std::string tool_args_json
 Original tool arguments as a JSON string; empty when absent. More...
 

Detailed Description

A single interaction requested while an Agent workflow is paused.

Member Data Documentation

◆ interaction_type

std::string longbridge::agent::HumanInteraction::interaction_type

Interaction type such as ask_human or trade_password

◆ interrupt_id

std::string longbridge::agent::HumanInteraction::interrupt_id

Stable key expected by the answers map when continuing.

◆ questions

std::vector<Question> longbridge::agent::HumanInteraction::questions

Questions and answer options presented to the user.

◆ tool_args_json

std::string longbridge::agent::HumanInteraction::tool_args_json

Original tool arguments as a JSON string; empty when absent.

◆ tool_call_id

std::string longbridge::agent::HumanInteraction::tool_call_id

Tool call that requested the interaction.

◆ tool_name

std::string longbridge::agent::HumanInteraction::tool_name

Human-readable tool name.


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