DocsCommonruntimeRuntimeOutput
Package: @hexos/common

Non-streaming response from a conversation turn via AgentRuntime.invoke().

Contains the final response text, the agent that handled the request, and a summary of all tool calls executed during the turn with their durations.

Related: RuntimeInput is the input, ToolCallResult details each tool execution.

interface RuntimeOutput {
    response: string;
    activeAgent: string;
    toolCalls?: ToolCallResult[];
}

response

string

activeAgent

string

toolCalls