pub struct RealtimeMCPToolCall {
pub arguments: String,
pub id: String,
pub name: String,
pub server_label: String,
pub approval_request_id: Option<String>,
pub error: Option<RealtimeMCPToolCallError>,
pub output: Option<String>,
}Available on crate feature
realtime only.Fields§
§arguments: StringA JSON string of the arguments passed to the tool.
id: StringThe unique ID of the tool call.
name: StringThe name of the tool that was run.
server_label: StringThe label of the MCP server running the tool.
approval_request_id: Option<String>The ID of an associated approval request, if any.
error: Option<RealtimeMCPToolCallError>The error from the tool call, if any.
output: Option<String>The output from the tool call.
Trait Implementations§
Source§impl Clone for RealtimeMCPToolCall
impl Clone for RealtimeMCPToolCall
Source§fn clone(&self) -> RealtimeMCPToolCall
fn clone(&self) -> RealtimeMCPToolCall
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 Debug for RealtimeMCPToolCall
impl Debug for RealtimeMCPToolCall
Source§impl<'de> Deserialize<'de> for RealtimeMCPToolCall
impl<'de> Deserialize<'de> for RealtimeMCPToolCall
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 RealtimeMCPToolCall
impl RefUnwindSafe for RealtimeMCPToolCall
impl Send for RealtimeMCPToolCall
impl Sync for RealtimeMCPToolCall
impl Unpin for RealtimeMCPToolCall
impl UnwindSafe for RealtimeMCPToolCall
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