Skip to main content
Dynamic callbacks recalculate model parameters from the current run state before each model request.
Dynamic tools and sampling values can use the same turn context. A tool can also set nextTurnParams to modify only the immediately following request. These overrides are persisted when the run pauses for approval and expire after the next turn. Use dynamic callbacks for policy that should be recomputed every turn. Use nextTurnParams for a tool-specific handoff.
Last modified on July 26, 2026