pub struct Annotation {
pub read_only: Option<bool>,
pub untrusted_content: Option<bool>,
pub consequential: Option<bool>,
pub debugging: Option<bool>,
pub autosubmit: Option<bool>,
}Expand description
Tool annotations
Fields§
§read_only: Option<bool>A hint indicating that the tool does not modify any state.
untrusted_content: Option<bool>A hint indicating that the tool output may contain untrusted content, ex: UGC, 3rd party data.
consequential: Option<bool>A hint indicating that executing the tool will result in consequential actions, ex: booking a flight, transferring money.
debugging: Option<bool>If true, indicates that the tool is intended for debugging and developer tooling rather than end-user interactions.
autosubmit: Option<bool>If the declarative tool was declared with the autosubmit attribute.
Trait Implementations§
Source§impl Clone for Annotation
impl Clone for Annotation
Source§impl Debug for Annotation
impl Debug for Annotation
Source§impl Default for Annotation
impl Default for Annotation
Source§impl<'de> Deserialize<'de> for Annotation
impl<'de> Deserialize<'de> for Annotation
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 PartialEq for Annotation
impl PartialEq for Annotation
Source§impl Serialize for Annotation
impl Serialize for Annotation
impl StructuralPartialEq for Annotation
Auto Trait Implementations§
impl Forget for Annotation
impl Freeze for Annotation
impl RefUnwindSafe for Annotation
impl Send for Annotation
impl Sync for Annotation
impl Unpin for Annotation
impl UnsafeUnpin for Annotation
impl UnwindSafe for Annotation
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