Skip to main content

Interface: SessionOptions

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

Properties​

history​

history: Message[]

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

Conversation so far, before the first send.


maxSteps​

maxSteps: number

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


schema?​

optional schema?: JsonSchema

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

Present when the provider declared native structured support.


system?​

optional system?: string

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


tools​

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

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

Tool descriptors; execution always goes through TurnContext.runTool.