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