pub struct ToolCallConfirmation {
pub confirmation_type: String,
pub description: Option<String>,
pub command: Option<String>,
pub root_command: Option<String>,
pub server_name: Option<String>,
pub tool_name: Option<String>,
pub tool_display_name: Option<String>,
pub urls: Option<Vec<String>>,
}Expand description
Tool call confirmation details
Fields§
§confirmation_type: StringThe type of the confirmation
description: Option<String>Optional description
command: Option<String>Command for execute type
root_command: Option<String>Root command for execute type
server_name: Option<String>Server name for mcp type
tool_name: Option<String>Tool name for mcp type
tool_display_name: Option<String>Tool display name for mcp type
urls: Option<Vec<String>>URLs for fetch type
Trait Implementations§
Source§impl Clone for ToolCallConfirmation
impl Clone for ToolCallConfirmation
Source§fn clone(&self) -> ToolCallConfirmation
fn clone(&self) -> ToolCallConfirmation
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 ToolCallConfirmation
impl Debug for ToolCallConfirmation
Source§impl<'de> Deserialize<'de> for ToolCallConfirmation
impl<'de> Deserialize<'de> for ToolCallConfirmation
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 ToolCallConfirmation
impl RefUnwindSafe for ToolCallConfirmation
impl Send for ToolCallConfirmation
impl Sync for ToolCallConfirmation
impl Unpin for ToolCallConfirmation
impl UnwindSafe for ToolCallConfirmation
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