pub enum ToolResultPresentation {
NaturalSummary,
DiagnosticDetail,
}Expand description
How the response layer should treat a successful tool result.
This is control-plane metadata, not a canned user response. Tools use it to distinguish an owner-facing operational outcome from an explicitly requested diagnostic view while leaving the wording to the model.
Variants§
Trait Implementations§
Source§impl Clone for ToolResultPresentation
impl Clone for ToolResultPresentation
impl Copy for ToolResultPresentation
Source§impl Debug for ToolResultPresentation
impl Debug for ToolResultPresentation
Source§impl<'de> Deserialize<'de> for ToolResultPresentation
impl<'de> Deserialize<'de> for ToolResultPresentation
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
impl Eq for ToolResultPresentation
Source§impl PartialEq for ToolResultPresentation
impl PartialEq for ToolResultPresentation
Source§impl Serialize for ToolResultPresentation
impl Serialize for ToolResultPresentation
impl StructuralPartialEq for ToolResultPresentation
Auto Trait Implementations§
impl Forget for ToolResultPresentation
impl Freeze for ToolResultPresentation
impl Move for ToolResultPresentation
impl RefUnwindSafe for ToolResultPresentation
impl Send for ToolResultPresentation
impl Sync for ToolResultPresentation
impl Unpin for ToolResultPresentation
impl UnsafeUnpin for ToolResultPresentation
impl UnwindSafe for ToolResultPresentation
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