The generated text.
OptionaltoolTool calls made by the model during generation.
OptionaltoolResults from tool executions.
Reason why the model stopped generating.
Token usage information for this generation.
OptionalsourcesSources used by the model (if supported).
OptionaloutputStructured output when using outputSchema. Type is automatically inferred from the Typebox schema.
OptionalresponseResponse metadata including messages.
Response from AI text generation, matching Vercel AI SDK's GenerateTextResult.