RunContext
Defined in: agents/src/types.ts:237
Available while resolving a new run, never reconstructed from a snapshot. The history and input are frozen copies. context keeps host services by reference, like tool context.
Properties
Section titled “Properties”agentId
Section titled “agentId”readonly agentId: string;Defined in: agents/src/types.ts:238
context
Section titled “context”readonly context: ToolContext;Defined in: agents/src/types.ts:243
history
Section titled “history”readonly history: readonly AgentMessage[];Defined in: agents/src/types.ts:241
readonly input: UserContent;Defined in: agents/src/types.ts:242
readonly runId: string;Defined in: agents/src/types.ts:240
signal
Section titled “signal”readonly signal: AbortSignal;Defined in: agents/src/types.ts:244
version
Section titled “version”readonly version: string;Defined in: agents/src/types.ts:239