ModelResult
Parameters and properties
Section titled “Parameters and properties”textRequiredstringConcatenated text blocks of the response; empty when the model only called tools.contentOptionalreadonly ModelContentBlock[] | undefinedNormalized response blocks in model order: text, tool calls and opaque reasoning to replay unchanged in later requests. Built-in providers always return it.stopReasonOptionalModelStopReason | undefinedWhy the model stopped: end, tool-calls, max-tokens or refusal. A max-tokens result may contain truncated text or incomplete tool calls.usageOptionalUsage | undefinedToken counts reported by the service, absent when it reports none. Missing cache details count as zero; Anthropic input includes cache reads and writes.