pub struct McpArgs {
pub server: Option<String>,
pub tool: Option<String>,
pub inner: Value,
}Expand description
MCP (Model Context Protocol) tool arguments
This struct captures structured information about MCP tools.
The server and tool fields are populated by provider-specific
normalization logic based on provider naming conventions.
Fields§
§server: Option<String>MCP server identifier Populated during normalization by provider-specific logic
tool: Option<String>MCP tool identifier Populated during normalization by provider-specific logic
inner: ValueRaw MCP tool arguments as JSON
Trait Implementations§
Source§impl<'de> Deserialize<'de> for McpArgs
impl<'de> Deserialize<'de> for McpArgs
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
Auto Trait Implementations§
impl Freeze for McpArgs
impl RefUnwindSafe for McpArgs
impl Send for McpArgs
impl Sync for McpArgs
impl Unpin for McpArgs
impl UnwindSafe for McpArgs
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