Skip to content
providerkit
GitHub

RecoveryPolicy

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

Trusted host assertions, never inferred from model output or an idempotency key.

identity: string;

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

Change when hidden provider defaults, hosted capabilities or tool implementations change.


optional inferenceOnly?: boolean;

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

Assert that this provider profile performs inference only, with no hosted effects.


maxAttempts: number;

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

Total attempts per operation, including the first. Tree and local limits still apply.


optional readOnlyTools?: readonly string[];

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

Explicit allow-list of ordinary isReadOnly tools. Calls with human requests cannot replay.