OptionalabortSignal?: AbortSignalAbort signal for the request
Optionaloutput?: OutputSpecStructured output specification
OptionalstopWhen?: StopWhen<Tools>Caller stop condition; otherwise prompt maxSteps when tools exist
OptionaltoolChoice?: ToolChoice<Tools>Tool choice, applied only when tools exist
Optionaltools?: CompatibleToolSetAI SDK tools, accepted structurally to tolerate different Zod peer versions.
Shared options accepted by text generation calls.