pub struct PostToolUseFailureOutput {
pub additional_context: Option<String>,
}Expand description
Output for the postToolUseFailure hook.
Only additional_context is consumed by the host CLI — it is appended as
hidden guidance to the model alongside the failed tool result.
Fields§
§additional_context: Option<String>Extra context appended to the failed tool result for the agent.
Trait Implementations§
Source§impl Clone for PostToolUseFailureOutput
impl Clone for PostToolUseFailureOutput
Source§fn clone(&self) -> PostToolUseFailureOutput
fn clone(&self) -> PostToolUseFailureOutput
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 PostToolUseFailureOutput
impl Debug for PostToolUseFailureOutput
Source§impl Default for PostToolUseFailureOutput
impl Default for PostToolUseFailureOutput
Source§fn default() -> PostToolUseFailureOutput
fn default() -> PostToolUseFailureOutput
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PostToolUseFailureOutput
impl RefUnwindSafe for PostToolUseFailureOutput
impl Send for PostToolUseFailureOutput
impl Sync for PostToolUseFailureOutput
impl Unpin for PostToolUseFailureOutput
impl UnsafeUnpin for PostToolUseFailureOutput
impl UnwindSafe for PostToolUseFailureOutput
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