pub struct McpAppToolCallCompleteData {
pub arguments: Option<HashMap<String, Value>>,
pub duration_ms: f64,
pub error: Option<McpAppToolCallCompleteError>,
pub result: Option<HashMap<String, Value>>,
pub server_name: String,
pub success: bool,
pub tool_meta: Option<McpAppToolCallCompleteToolMeta>,
pub tool_name: String,
}Expand description
Session event “mcp_app.tool_call_complete”. MCP App view called a tool on a connected MCP server (SEP-1865)
Fields§
§arguments: Option<HashMap<String, Value>>Arguments passed to the tool by the app view, if any
duration_ms: f64Wall-clock duration of the underlying tools/call in milliseconds
error: Option<McpAppToolCallCompleteError>Set when the underlying tools/call threw an error before returning a CallToolResult
result: Option<HashMap<String, Value>>Standard MCP CallToolResult returned by the server. Present whether or not the call set isError.
server_name: StringName of the MCP server hosting the tool
success: boolTrue when the call completed without throwing AND the MCP CallToolResult did not set isError
tool_meta: Option<McpAppToolCallCompleteToolMeta>The tool’s _meta.ui block at the time of the call, so consumers can decide whether to forward the result to the model without re-listing tools.
tool_name: StringMCP tool name that was invoked
Trait Implementations§
Source§impl Clone for McpAppToolCallCompleteData
impl Clone for McpAppToolCallCompleteData
Source§fn clone(&self) -> McpAppToolCallCompleteData
fn clone(&self) -> McpAppToolCallCompleteData
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 McpAppToolCallCompleteData
impl Debug for McpAppToolCallCompleteData
Source§impl Default for McpAppToolCallCompleteData
impl Default for McpAppToolCallCompleteData
Source§fn default() -> McpAppToolCallCompleteData
fn default() -> McpAppToolCallCompleteData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for McpAppToolCallCompleteData
impl<'de> Deserialize<'de> for McpAppToolCallCompleteData
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 McpAppToolCallCompleteData
impl RefUnwindSafe for McpAppToolCallCompleteData
impl Send for McpAppToolCallCompleteData
impl Sync for McpAppToolCallCompleteData
impl Unpin for McpAppToolCallCompleteData
impl UnsafeUnpin for McpAppToolCallCompleteData
impl UnwindSafe for McpAppToolCallCompleteData
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