ProgramCall
type ProgramCall = object & | { previousAttemptId?: string; status: "pending";} | { status: "running";} | { result: ToolResult; status: "completed";};Defined in: agents/src/types.ts:951
Private inner-call journal. IDs increase across program restarts; old calls never replay.
Type Declaration
Section titled “Type Declaration”arguments
Section titled “arguments”arguments: Record<string, unknown>;optional asks?: AskRecord[];attemptId
Section titled “attemptId”attemptId: string;bytes?
Section titled “bytes?”optional bytes?: number;Current attempt’s JSON output size, or failure text size. Result content is at most 1 KiB.
id: string;interrupted
Section titled “interrupted”interrupted: InterruptedAttempt[];name: string;programAttemptId
Section titled “programAttemptId”programAttemptId: string;The outer program attempt which admitted this call.
retries
Section titled “retries”retries: RetriedToolAttempt[];started
Section titled “started”started: boolean;False means dispatch never started, even if this receipt is now completed.