pub struct McpPlanRequiredValueScalar {
pub category: McpPlanValueCategory,
pub default_value: Option<String>,
pub description: Option<String>,
pub is_repeated: bool,
pub key: String,
pub kind: McpPlanRequiredValueScalarKind,
pub required: bool,
pub title: Option<String>,
pub value_type: McpPlanScalarValueType,
}Expand description
One non-secret scalar value a transport choice needs before it can be applied.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§category: McpPlanValueCategoryWhere the value is applied when the server is launched.
default_value: Option<String>Default supplied by the card, when the value can be resolved without input. Presence is the authoritative indication that a default exists. Inert untrusted data.
description: Option<String>Human-readable explanation from the card. Inert untrusted text.
is_repeated: boolWhether the value may be supplied more than once.
key: StringKey the value is supplied under. Inert untrusted data.
kind: McpPlanRequiredValueScalarKindDiscriminator: this required value uses a scalar type.
required: boolWhether the value must be present for the plan to be applicable.
title: Option<String>Human-readable label from the card. Inert untrusted text.
value_type: McpPlanScalarValueTypeScalar type the value must conform to.
Trait Implementations§
Source§impl Clone for McpPlanRequiredValueScalar
impl Clone for McpPlanRequiredValueScalar
Source§fn clone(&self) -> McpPlanRequiredValueScalar
fn clone(&self) -> McpPlanRequiredValueScalar
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more