pub struct ToolStep {
pub id: String,
pub tool: String,
pub args: ToolInput,
pub depends_on: Vec<String>,
}Expand description
One step in an ExecutionPlan.
Fields§
§id: StringUnique step id within the plan. Used by other steps to declare
dependencies and by OrchestratorResult to key the output.
tool: StringName of the registered tool to invoke (matches Tool::name).
args: ToolInputStatic args for the tool. For dynamic interpolation from prior
step outputs, use a custom step builder before calling run.
depends_on: Vec<String>Step ids whose results must be available before this step runs. An empty list means the step is eligible immediately.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ToolStep
impl RefUnwindSafe for ToolStep
impl Send for ToolStep
impl Sync for ToolStep
impl Unpin for ToolStep
impl UnsafeUnpin for ToolStep
impl UnwindSafe for ToolStep
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