pub struct ToolCallRequest {
pub tool: String,
pub server: String,
pub args: Value,
pub request_id: String,
}Expand description
Request body for tool calls
Fields§
§tool: StringTool name to call
server: StringServer name to call the tool on
args: ValueArguments to pass to the tool
request_id: StringRequest ID for correlation
Trait Implementations§
Source§impl Clone for ToolCallRequest
impl Clone for ToolCallRequest
Source§fn clone(&self) -> ToolCallRequest
fn clone(&self) -> ToolCallRequest
Returns a copy 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 Debug for ToolCallRequest
impl Debug for ToolCallRequest
Source§impl<'de> Deserialize<'de> for ToolCallRequest
impl<'de> Deserialize<'de> for ToolCallRequest
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 ToolCallRequest
impl RefUnwindSafe for ToolCallRequest
impl Send for ToolCallRequest
impl Sync for ToolCallRequest
impl Unpin for ToolCallRequest
impl UnwindSafe for ToolCallRequest
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