pub struct CallToolRequest {
pub name: String,
pub arguments: Value,
}Expand description
The tools/call request body.
The client invokes a tool by
name with a JSON object that
matches the tool’s
inputSchema.
Fields§
§name: StringThe tool’s name. Matches
the name field of a
Tool returned from
tools/list.
arguments: ValueThe tool’s arguments.
The shape is the tool’s
inputSchema. A tool that
takes no arguments passes
an empty object.
Trait Implementations§
Source§impl Clone for CallToolRequest
impl Clone for CallToolRequest
Source§impl Debug for CallToolRequest
impl Debug for CallToolRequest
impl Eq for CallToolRequest
Source§impl PartialEq for CallToolRequest
impl PartialEq for CallToolRequest
Source§impl Serialize for CallToolRequest
impl Serialize for CallToolRequest
impl StructuralPartialEq for CallToolRequest
Auto Trait Implementations§
impl Freeze for CallToolRequest
impl RefUnwindSafe for CallToolRequest
impl Send for CallToolRequest
impl Sync for CallToolRequest
impl Unpin for CallToolRequest
impl UnsafeUnpin for CallToolRequest
impl UnwindSafe for CallToolRequest
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