RunDefinition
Defined in: agents/src/types.ts:429
Properties
Section titled “Properties”codeTools?
Section titled “codeTools?”optional codeTools?: Record<string, RecordedCodeTool>;Defined in: agents/src/types.ts:451
Present for registered code tools, including ones disabled for this run.
compaction
Section titled “compaction”compaction: | CompactionDefinition | null;Defined in: agents/src/types.ts:455
enabledTools
Section titled “enabledTools”enabledTools: string[];Defined in: agents/src/types.ts:436
finish?
Section titled “finish?”optional finish?: object;Defined in: agents/src/types.ts:443
AgentConfig.finish, when set.
emptyTurns
Section titled “emptyTurns”emptyTurns: number;nearEnd?
Section titled “nearEnd?”optional nearEnd?: string;guardrails
Section titled “guardrails”guardrails: | GuardDefinition | null;Defined in: agents/src/types.ts:454
instructions
Section titled “instructions”instructions: string;Defined in: agents/src/types.ts:430
memory?
Section titled “memory?”optional memory?: MemoryPolicy;Defined in: agents/src/types.ts:458
Recall policy only. Memory tools are explicit registered tools, never implicit grants.
modelSettings
Section titled “modelSettings”modelSettings: RecordedModelSettings;Defined in: agents/src/types.ts:431
providerSessionId?
Section titled “providerSessionId?”optional providerSessionId?: string;Defined in: agents/src/types.ts:435
RunOptions.providerSessionId, when the run named one.
recovery
Section titled “recovery”recovery: | RecoveryDefinition | null;Defined in: agents/src/types.ts:453
Null refuses interrupted effects. Recorded policy and identities must match on recovery.
requests?
Section titled “requests?”optional requests?: RequestPolicy;Defined in: agents/src/types.ts:445
AgentConfig.requests, when set.
retryAfterOutput?
Section titled “retryAfterOutput?”optional retryAfterOutput?: RecordedRetryAfterOutputPolicy;Defined in: agents/src/types.ts:447
AgentConfig.retryAfterOutput, when set.
runFirst?
Section titled “runFirst?”optional runFirst?: string[];Defined in: agents/src/types.ts:439
AgentConfig.runFirst, when the agent names any.
steering?
Section titled “steering?”optional steering?: SteeringPolicy;Defined in: agents/src/types.ts:449
AgentConfig.steering, when set.
stopAtTools
Section titled “stopAtTools”stopAtTools: string[];Defined in: agents/src/types.ts:437
stopOnlyAtTools?
Section titled “stopOnlyAtTools?”optional stopOnlyAtTools?: object;Defined in: agents/src/types.ts:441
AgentConfig.stopOnlyAtTools, when set.
nudge: string;supportsVision?
Section titled “supportsVision?”optional supportsVision?: false;Defined in: agents/src/types.ts:432
toolHistory?
Section titled “toolHistory?”optional toolHistory?: ToolHistoryPolicy;Defined in: agents/src/types.ts:433
toolRetries
Section titled “toolRetries”toolRetries: | ToolRetryDefinition | null;Defined in: agents/src/types.ts:456