Interface: SubAgentResult
Defined in: agent.ts:928
Result from a sub-agent execution
Properties
contextStats?
optional contextStats?: ContextStats;
Defined in: agent.ts:962
Context stats for the sub-agent’s execution
error?
optional error?: string;
Defined in: agent.ts:947
Error message if execution failed
iterations
iterations: number;
Defined in: agent.ts:952
Number of iterations used
name
name: string;
Defined in: agent.ts:932
Name of the sub-agent that executed
response
response: string;
Defined in: agent.ts:937
Final response from the sub-agent
success
success: boolean;
Defined in: agent.ts:942
Whether the execution was successful
toolCalls
toolCalls: {
input: Record<string, unknown>;
name: string;
result: ToolExecutionResult;
}[];
Defined in: agent.ts:957
Tool calls made by the sub-agent
input
input: Record<string, unknown>;
name
name: string;
result
result: ToolExecutionResult;