pub struct CallToolParams {
pub name: String,
pub arguments: Option<Value>,
}👎Deprecated since 0.14.0:
MCP wire types now come from rmcp::model, the reference SDK, which tracks protocol revisions for us — these hand-rolled types are pinned to MCP 2025-11-25 and do not model 2026-07-28. Scheduled for removal in 0.15.0.
Expand description
Parameters for tools/call.
Fields§
§name: String👎Deprecated since 0.14.0:
§MCP wire types now come from rmcp::model, the reference SDK, which tracks protocol revisions for us — these hand-rolled types are pinned to MCP 2025-11-25 and do not model 2026-07-28. Scheduled for removal in 0.15.0.
arguments: Option<Value>👎Deprecated since 0.14.0:
MCP wire types now come from rmcp::model, the reference SDK, which tracks protocol revisions for us — these hand-rolled types are pinned to MCP 2025-11-25 and do not model 2026-07-28. Scheduled for removal in 0.15.0.
Trait Implementations§
Source§impl Clone for CallToolParams
impl Clone for CallToolParams
Source§fn clone(&self) -> CallToolParams
fn clone(&self) -> CallToolParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CallToolParams
impl Debug for CallToolParams
Source§impl<'de> Deserialize<'de> for CallToolParams
impl<'de> Deserialize<'de> for CallToolParams
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 CallToolParams
impl RefUnwindSafe for CallToolParams
impl Send for CallToolParams
impl Sync for CallToolParams
impl Unpin for CallToolParams
impl UnsafeUnpin for CallToolParams
impl UnwindSafe for CallToolParams
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