pub struct ToolRegistration {
pub aae_version: String,
pub name: String,
pub description: Option<String>,
pub plan_schema: Value,
pub preview_schema: Option<Value>,
pub preview_supported: bool,
pub default_blast_radius: BlastRadius,
pub aae_required: bool,
pub data_classes_touched: Vec<String>,
pub compliance_relevant: bool,
pub systems_of_record: Vec<String>,
pub reversibility: Option<Reversibility>,
}Expand description
Tool registration declaring the tool’s plan/preview contract.
Fields§
§aae_version: StringProtocol version.
name: StringTool name (matched against Step.tool).
description: Option<String>Optional human-readable description.
plan_schema: ValueJSON Schema for the args object of a step using this tool.
preview_schema: Option<Value>Optional JSON Schema for predicted_effects produced by this tool.
preview_supported: boolWhether this tool supports preview.
default_blast_radius: BlastRadiusDefault blast radius if step does not declare one.
aae_required: boolWhether this tool requires the AAE lifecycle.
data_classes_touched: Vec<String>v0.3 optional (G-4): opaque data-class identifiers this tool may touch.
compliance_relevant: boolv0.3 optional (G-4): whether operations are compliance-relevant.
systems_of_record: Vec<String>v0.3 optional (G-4): systems of record this tool can modify.
reversibility: Option<Reversibility>v0.3 optional (G-4): whether this tool’s effects can be undone.
Trait Implementations§
Source§impl Clone for ToolRegistration
impl Clone for ToolRegistration
Source§impl Debug for ToolRegistration
impl Debug for ToolRegistration
Source§impl<'de> Deserialize<'de> for ToolRegistration
impl<'de> Deserialize<'de> for ToolRegistration
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
Auto Trait Implementations§
impl Freeze for ToolRegistration
impl RefUnwindSafe for ToolRegistration
impl Send for ToolRegistration
impl Sync for ToolRegistration
impl Unpin for ToolRegistration
impl UnsafeUnpin for ToolRegistration
impl UnwindSafe for ToolRegistration
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