pub struct ProcedureStep {
pub description: String,
pub tool: Option<String>,
pub intent: Option<String>,
pub tool_hint: Option<String>,
}Fields§
§description: String§tool: Option<String>Literal tool name. Pre-M6b behaviour: hard binding. Post-M6b: treated
as a hint when intent is also set; otherwise still a hard binding.
intent: Option<String>What the step is trying to accomplish. Free-form string, no central
taxonomy. Resolved at inject time against the agent’s MCP inventory.
When set, the resolver prefers a tool whose name matches a glob in
mcp_requirements over the literal tool field.
tool_hint: Option<String>Preferred tool name pattern (glob). Used as a tiebreaker among
resolver candidates. Falls back to literal tool, then to any
mcp_requirements match for the intent.
Trait Implementations§
Source§impl Clone for ProcedureStep
impl Clone for ProcedureStep
Source§fn clone(&self) -> ProcedureStep
fn clone(&self) -> ProcedureStep
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 ProcedureStep
impl Debug for ProcedureStep
Source§impl<'de> Deserialize<'de> for ProcedureStep
impl<'de> Deserialize<'de> for ProcedureStep
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 ProcedureStep
impl RefUnwindSafe for ProcedureStep
impl Send for ProcedureStep
impl Sync for ProcedureStep
impl Unpin for ProcedureStep
impl UnsafeUnpin for ProcedureStep
impl UnwindSafe for ProcedureStep
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