pub struct ToolOutput {
pub content: Vec<UserContent>,
pub details: Option<JsonValue>,
pub is_error: bool,
}Expand description
Result attached to a tool row.
Fields§
§content: Vec<UserContent>Text and image blocks.
details: Option<JsonValue>Tool-specific details (diff, truncation, …).
is_error: boolError flag.
Implementations§
Source§impl ToolOutput
impl ToolOutput
Trait Implementations§
Source§impl Clone for ToolOutput
impl Clone for ToolOutput
Source§impl Debug for ToolOutput
impl Debug for ToolOutput
Source§impl PartialEq for ToolOutput
impl PartialEq for ToolOutput
impl StructuralPartialEq for ToolOutput
Auto Trait Implementations§
impl Freeze for ToolOutput
impl RefUnwindSafe for ToolOutput
impl Send for ToolOutput
impl Sync for ToolOutput
impl Unpin for ToolOutput
impl UnsafeUnpin for ToolOutput
impl UnwindSafe for ToolOutput
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