pub struct TeamCreateTool;Expand description
TeamCreate tool - create a team of agents
Implementations§
Source§impl TeamCreateTool
impl TeamCreateTool
pub fn new() -> Self
pub fn input_schema(&self) -> ToolInputSchema
pub async fn execute( &self, input: Value, _context: &ToolContext, ) -> Result<ToolResult, AgentError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TeamCreateTool
impl RefUnwindSafe for TeamCreateTool
impl Send for TeamCreateTool
impl Sync for TeamCreateTool
impl Unpin for TeamCreateTool
impl UnsafeUnpin for TeamCreateTool
impl UnwindSafe for TeamCreateTool
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