pub enum ToolInvocationPhase {
Setup,
ParamHandling,
Execution,
ResultInterpretation,
}Expand description
Invocation phase in which a tool failure occurred, per arXiv:2601.16280.
Maps Zeph’s ToolErrorCategory variants to the 4-phase diagnostic framework:
Setup → ParamHandling → Execution → ResultInterpretation.
Variants§
Setup
Tool lookup/registration phase: was the tool name valid?
ParamHandling
Parameter validation phase: were the provided arguments well-formed?
Execution
Runtime execution phase: did the tool run successfully?
ResultInterpretation
Output parsing/interpretation phase: was the result usable?
Reserved for future use — no current ToolErrorCategory maps here.
Implementations§
Trait Implementations§
Source§impl Clone for ToolInvocationPhase
impl Clone for ToolInvocationPhase
Source§fn clone(&self) -> ToolInvocationPhase
fn clone(&self) -> ToolInvocationPhase
Returns a duplicate of the value. Read more
1.0.0 · 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 ToolInvocationPhase
impl Debug for ToolInvocationPhase
Source§impl<'de> Deserialize<'de> for ToolInvocationPhase
impl<'de> Deserialize<'de> for ToolInvocationPhase
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
Source§impl Hash for ToolInvocationPhase
impl Hash for ToolInvocationPhase
Source§impl PartialEq for ToolInvocationPhase
impl PartialEq for ToolInvocationPhase
Source§impl Serialize for ToolInvocationPhase
impl Serialize for ToolInvocationPhase
impl Copy for ToolInvocationPhase
impl Eq for ToolInvocationPhase
impl StructuralPartialEq for ToolInvocationPhase
Auto Trait Implementations§
impl Freeze for ToolInvocationPhase
impl RefUnwindSafe for ToolInvocationPhase
impl Send for ToolInvocationPhase
impl Sync for ToolInvocationPhase
impl Unpin for ToolInvocationPhase
impl UnsafeUnpin for ToolInvocationPhase
impl UnwindSafe for ToolInvocationPhase
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