pub struct McpServerToolCallContent {
pub call_id: String,
pub tool_name: String,
pub server_name: Option<String>,
pub arguments: Option<FunctionArguments>,
pub approval_request_id: Option<String>,
}Expand description
A provider-hosted MCP server tool call the service already routed to a
remote MCP server. Recorded for transcript fidelity; not a local function
invocation request (always informational_only).
Fields§
§call_id: String§tool_name: String§server_name: Option<String>§arguments: Option<FunctionArguments>§approval_request_id: Option<String>The id of the hosted approval request this call ran under, when it
needed one. A stateless replay sends it back on the mcp_call so the
service links the completed call to its approval request/response.
Trait Implementations§
Source§impl Clone for McpServerToolCallContent
impl Clone for McpServerToolCallContent
Source§fn clone(&self) -> McpServerToolCallContent
fn clone(&self) -> McpServerToolCallContent
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 McpServerToolCallContent
impl Debug for McpServerToolCallContent
Source§impl<'de> Deserialize<'de> for McpServerToolCallContent
impl<'de> Deserialize<'de> for McpServerToolCallContent
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<McpServerToolCallContent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<McpServerToolCallContent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for McpServerToolCallContent
impl PartialEq for McpServerToolCallContent
Source§impl Serialize for McpServerToolCallContent
impl Serialize for McpServerToolCallContent
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for McpServerToolCallContent
Auto Trait Implementations§
impl Freeze for McpServerToolCallContent
impl RefUnwindSafe for McpServerToolCallContent
impl Send for McpServerToolCallContent
impl Sync for McpServerToolCallContent
impl Unpin for McpServerToolCallContent
impl UnsafeUnpin for McpServerToolCallContent
impl UnwindSafe for McpServerToolCallContent
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