Skip to main content

Interface: SessionOptions

Defined in: packages/client/src/types.ts:211

Properties​

history​

history: Message[]

Defined in: packages/client/src/types.ts:218

Conversation so far, before the first send.


maxSteps​

maxSteps: number

Defined in: packages/client/src/types.ts:219


schema?​

optional schema?: JsonSchema

Defined in: packages/client/src/types.ts:216

Present when the provider declared native structured support.


system?​

optional system?: string

Defined in: packages/client/src/types.ts:212


tools​

tools: Pick<ToolDefinition<Record<string, unknown>, unknown>, "name" | "description" | "inputSchema">[]

Defined in: packages/client/src/types.ts:214

Tool descriptors; execution always goes through TurnContext.runTool.