Skip to main content
Flat per-run overrides. Raw runtimeConfig is intentionally not accepted; construct another Agent for runtime fields outside this curated set.

Example

Extended by

Properties

cwd?

Working directory for this fresh session.

maxBudgetUsd?

Maximum run cost before an error_max_budget result.

maxTurns?

Maximum model turns before an error_max_turns result.

model?

provider/model id for this session.

outputFormat?

Structured-output contract for this session.

permission?

Server permission rules, distinct from permissionMode.

permissionMode?

Runtime permission behavior for this session.

signal?

Abort the active turn; terminal error_aborted still resolves normally.

title?

Explicit session title; otherwise the prompt’s first line is used.