Everything a model call carries that the protocol decides, as owned data.
The driver adds only what is its own (telemetry flags) to
request, then sends it. The turn’s
policy is what the driver feeds back into the run when
the response arrives.
The request to send. Its history is the effective (possibly augmented)
preamble as a leading system message, then the patch’s history when
set (else the caller’s), then the prompt. Its documents are the static
context followed by the patch’s extra_context. Its tools are the
executable tools (after any active_tools allow-list) plus, in Tool
output mode, the synthetic output tool last. Temperature, output-token
cap and tool choice take the patch over the spec; additional_params
shallow-merge the patch over the spec when both are objects and carry
the spec’s provider-hosted tools in tools. The output schema is set
only when the resolved mode is OutputMode::Native.