pub struct WebMcpToolCall {
pub tool_name: String,
pub arguments: Value,
pub origin: Option<String>,
pub request_id: Option<String>,
}Expand description
A request to execute a WebMCP tool.
Fields§
§tool_name: StringName of the tool to execute.
arguments: ValueInput arguments (must conform to the tool’s input_schema).
origin: Option<String>Origin URL where the tool was discovered.
request_id: Option<String>Request ID for correlation.
Trait Implementations§
Source§impl Clone for WebMcpToolCall
impl Clone for WebMcpToolCall
Source§fn clone(&self) -> WebMcpToolCall
fn clone(&self) -> WebMcpToolCall
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ComposeSchema for WebMcpToolCall
impl ComposeSchema for WebMcpToolCall
Source§impl Debug for WebMcpToolCall
impl Debug for WebMcpToolCall
Source§impl<'de> Deserialize<'de> for WebMcpToolCall
impl<'de> Deserialize<'de> for WebMcpToolCall
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
Source§impl PartialEq for WebMcpToolCall
impl PartialEq for WebMcpToolCall
Source§impl Serialize for WebMcpToolCall
impl Serialize for WebMcpToolCall
Source§impl ToSchema for WebMcpToolCall
impl ToSchema for WebMcpToolCall
impl StructuralPartialEq for WebMcpToolCall
Auto Trait Implementations§
impl Freeze for WebMcpToolCall
impl RefUnwindSafe for WebMcpToolCall
impl Send for WebMcpToolCall
impl Sync for WebMcpToolCall
impl Unpin for WebMcpToolCall
impl UnwindSafe for WebMcpToolCall
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