Skip to content

Interface: CardTurnOptions

Options for runCardTurn.

optional bot?: object

Overrides the bot identity stamped on the reply.

id: string

optional name?: string


optional createRequestContext?: CardContextFactory

Builds the Mastra RequestContext for the turn, from resolveCardContextFactory. Omitted, the turn still answers, but without the AppKit user its user-scoped tools cannot reach Databricks - so the route should always supply it.


optional signal?: AbortSignal

Cancels the agent call with the request.