ToolExecution
type ToolExecution = object & | { id: string; previousAttemptId?: string; status: "pending";} | { attemptId: string; id: string; status: "running";} | { attemptId: string; id: string; status: "delegating";} | { attemptId: string; id: string; result: ToolResult; status: "completed";};Defined in: agents/src/types.ts:971
Type Declaration
Section titled “Type Declaration”optional asks?: AskRecord[];calls?
Section titled “calls?”optional calls?: ProgramCall[];Code tools only. Kept across a read-only program restart.
interrupted
Section titled “interrupted”interrupted: InterruptedAttempt[];retries
Section titled “retries”retries: RetriedToolAttempt[];