pub struct ToolExecution {
pub id: Option<String>,
pub name: String,
pub args: Value,
pub success: Option<bool>,
pub output: Option<String>,
pub detailed: Option<String>,
}Expand description
A tool.execution_start / tool.execution_complete.
Fields§
§id: Option<String>§name: String§args: Value§success: Option<bool>Present on ..._complete; None means “not reported”.
output: Option<String>Result/output text, when carried inline on ..._complete.
detailed: Option<String>result.detailedContent — for edit/create this is the git-style
diff of the actual file state [observed, 1.0.67+], i.e. real
file-change fidelity (not an arg reconstruction).
Trait Implementations§
Source§impl Clone for ToolExecution
impl Clone for ToolExecution
Source§fn clone(&self) -> ToolExecution
fn clone(&self) -> ToolExecution
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 ToolExecution
impl Debug for ToolExecution
Source§impl Default for ToolExecution
impl Default for ToolExecution
Source§fn default() -> ToolExecution
fn default() -> ToolExecution
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ToolExecution
impl RefUnwindSafe for ToolExecution
impl Send for ToolExecution
impl Sync for ToolExecution
impl Unpin for ToolExecution
impl UnsafeUnpin for ToolExecution
impl UnwindSafe for ToolExecution
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