pub struct ModelSwitchToRequest {
pub context_tier: Option<ContextTier>,
pub model_capabilities: Option<ModelCapabilitiesOverride>,
pub model_id: String,
pub reasoning_effort: Option<String>,
pub reasoning_summary: Option<ReasoningSummary>,
}Expand description
Target model identifier and optional reasoning effort, summary, capability overrides, and context tier.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§context_tier: Option<ContextTier>Explicit context tier for the selected model. "default" / "long_context" apply the requested tier; omit this field to use normal model behavior with no explicit tier.
model_capabilities: Option<ModelCapabilitiesOverride>Override individual model capabilities resolved by the runtime
model_id: StringModel selection id to switch to, as returned by list. A bare id (e.g. claude-sonnet-4.6) names a Copilot (CAPI) model; a provider-qualified id (provider/id, e.g. acme/claude-sonnet) targets a registry BYOK model.
reasoning_effort: Option<String>Reasoning effort level to use for the model. “none” disables reasoning.
reasoning_summary: Option<ReasoningSummary>Reasoning summary mode to request for supported model clients
Trait Implementations§
Source§impl Clone for ModelSwitchToRequest
impl Clone for ModelSwitchToRequest
Source§fn clone(&self) -> ModelSwitchToRequest
fn clone(&self) -> ModelSwitchToRequest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more