pub struct RunTeamTool { /* private fields */ }Expand description
RunTeamTool allows the LLM to trigger the Lead→Worker→Reviewer team workflow.
Completes the delegation triad alongside task and parallel_task. Use when a
goal is complex enough to need dynamic decomposition, parallel execution, and
quality review before acceptance.
Implementations§
Source§impl RunTeamTool
impl RunTeamTool
Sourcepub fn new(executor: Arc<TaskExecutor>) -> Self
pub fn new(executor: Arc<TaskExecutor>) -> Self
Create a new RunTeamTool
Trait Implementations§
Source§impl Tool for RunTeamTool
impl Tool for RunTeamTool
Source§fn description(&self) -> &str
fn description(&self) -> &str
Human-readable description for LLM
Source§fn parameters(&self) -> Value
fn parameters(&self) -> Value
JSON Schema for tool parameters
Source§fn execute<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
args: &'life1 Value,
ctx: &'life2 ToolContext,
) -> Pin<Box<dyn Future<Output = Result<ToolOutput>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn execute<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
args: &'life1 Value,
ctx: &'life2 ToolContext,
) -> Pin<Box<dyn Future<Output = Result<ToolOutput>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Execute the tool with given arguments
Auto Trait Implementations§
impl Freeze for RunTeamTool
impl !RefUnwindSafe for RunTeamTool
impl Send for RunTeamTool
impl Sync for RunTeamTool
impl Unpin for RunTeamTool
impl UnsafeUnpin for RunTeamTool
impl !UnwindSafe for RunTeamTool
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