pub enum CreateMessageRequestParamsIncludeContext {
AllServers,
None,
ThisServer,
}Expand description
A request to include context from one or more MCP servers (including the caller), to be attached to the prompt. The client MAY ignore this request.
Default is "none". The values "thisServer" and "allServers" are deprecated (SEP-2596): servers SHOULD
omit this field or use "none", and SHOULD only use the deprecated values if the client declares
ClientCapabilities.sampling.context.
Variants§
Implementations§
Trait Implementations§
impl Copy for CreateMessageRequestParamsIncludeContext
Source§impl<'de> Deserialize<'de> for CreateMessageRequestParamsIncludeContext
impl<'de> Deserialize<'de> for CreateMessageRequestParamsIncludeContext
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CreateMessageRequestParamsIncludeContext
impl StructuralPartialEq for CreateMessageRequestParamsIncludeContext
Auto Trait Implementations§
impl Freeze for CreateMessageRequestParamsIncludeContext
impl RefUnwindSafe for CreateMessageRequestParamsIncludeContext
impl Send for CreateMessageRequestParamsIncludeContext
impl Sync for CreateMessageRequestParamsIncludeContext
impl Unpin for CreateMessageRequestParamsIncludeContext
impl UnsafeUnpin for CreateMessageRequestParamsIncludeContext
impl UnwindSafe for CreateMessageRequestParamsIncludeContext
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more