pub struct ToolExecuteParams {
pub slug: Option<String>,
pub allow_tracing: Option<bool>,
pub arguments: HashMap<String, Value>,
pub connected_account_id: Option<String>,
pub custom_auth_params: Option<CustomAuthParams>,
pub custom_connection_data: Option<CustomConnectionData>,
pub entity_id: Option<String>,
pub text: Option<String>,
pub user_id: Option<String>,
pub version: Option<String>,
pub dangerously_skip_version_check: Option<bool>,
}Expand description
Parameters for tool execution
Fields§
§slug: Option<String>Tool slug to execute
allow_tracing: Option<bool>Whether to allow tracing
arguments: HashMap<String, Value>Tool execution arguments
connected_account_id: Option<String>Connected account ID to use
custom_auth_params: Option<CustomAuthParams>Custom authentication parameters
custom_connection_data: Option<CustomConnectionData>Custom connection data
entity_id: Option<String>Entity ID (deprecated, use user_id)
text: Option<String>Natural language text for tool execution
user_id: Option<String>User ID for scoping
version: Option<String>Tool version to execute
dangerously_skip_version_check: Option<bool>Skip version check (dangerous)
Implementations§
Trait Implementations§
Source§impl Clone for ToolExecuteParams
impl Clone for ToolExecuteParams
Source§fn clone(&self) -> ToolExecuteParams
fn clone(&self) -> ToolExecuteParams
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 ToolExecuteParams
impl Debug for ToolExecuteParams
Source§impl<'de> Deserialize<'de> for ToolExecuteParams
impl<'de> Deserialize<'de> for ToolExecuteParams
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 ToolExecuteParams
impl RefUnwindSafe for ToolExecuteParams
impl Send for ToolExecuteParams
impl Sync for ToolExecuteParams
impl Unpin for ToolExecuteParams
impl UnsafeUnpin for ToolExecuteParams
impl UnwindSafe for ToolExecuteParams
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