pub struct PostToolUseOutput {
pub modified_result: Option<Value>,
pub additional_context: Option<String>,
pub suppress_output: Option<bool>,
}Expand description
Output for the postToolUse hook.
Fields§
§modified_result: Option<Value>Replacement result for the tool.
additional_context: Option<String>Extra context injected into the agent’s prompt.
suppress_output: Option<bool>Suppress the hook’s output from the session log.
Trait Implementations§
Source§impl Clone for PostToolUseOutput
impl Clone for PostToolUseOutput
Source§fn clone(&self) -> PostToolUseOutput
fn clone(&self) -> PostToolUseOutput
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 PostToolUseOutput
impl Debug for PostToolUseOutput
Source§impl Default for PostToolUseOutput
impl Default for PostToolUseOutput
Source§fn default() -> PostToolUseOutput
fn default() -> PostToolUseOutput
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PostToolUseOutput
impl RefUnwindSafe for PostToolUseOutput
impl Send for PostToolUseOutput
impl Sync for PostToolUseOutput
impl Unpin for PostToolUseOutput
impl UnsafeUnpin for PostToolUseOutput
impl UnwindSafe for PostToolUseOutput
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