pub struct ShellCallAction {
pub commands: Vec<String>,
pub max_output_length: Option<i64>,
pub timeout_ms: Option<i64>,
}Expand description
The shell commands and limits that describe how to run the tool call.
Fields§
§commands: Vec<String>Ordered shell commands for the execution environment to run.
max_output_length: Option<i64>Maximum number of UTF-8 characters to capture from combined stdout and stderr
timeout_ms: Option<i64>Maximum wall-clock time in milliseconds to allow the shell commands to run.
Trait Implementations§
Source§impl Clone for ShellCallAction
impl Clone for ShellCallAction
Source§fn clone(&self) -> ShellCallAction
fn clone(&self) -> ShellCallAction
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 ShellCallAction
impl Debug for ShellCallAction
Source§impl<'de> Deserialize<'de> for ShellCallAction
impl<'de> Deserialize<'de> for ShellCallAction
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 ShellCallAction
impl RefUnwindSafe for ShellCallAction
impl Send for ShellCallAction
impl Sync for ShellCallAction
impl Unpin for ShellCallAction
impl UnsafeUnpin for ShellCallAction
impl UnwindSafe for ShellCallAction
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