Skip to content
providerkit
GitHub

EarlierCall

Defined in: agents/src/types.ts:800

One of this run’s calls that came before the one being screened: settled, refused, running, waiting for a person, or let through earlier in the same batch.

arguments: Record<string, unknown>;

Defined in: agents/src/types.ts:808

What the model or the program wrote, before any approved edit.


name: string;

Defined in: agents/src/types.ts:806


operationId: string;

Defined in: agents/src/types.ts:801


optional parentOperationId?: string;

Defined in: agents/src/types.ts:803

The program call that made it, for a call from code mode.


optional result?:
| {
kind?: undefined;
ok: true;
}
| {
kind: | "denied"
| "cancelled"
| "interrupted"
| ToolFailure
| "refused"
| "unknown_tool"
| "disabled_tool"
| "invalid_output";
ok: false;
};

Defined in: agents/src/types.ts:810

Absent until the call has a result. refused and cancelled calls never ran.


turn: number;

Defined in: agents/src/types.ts:805

The model turn that asked for it, counting from 0.