pub struct TaskCreateTool;Expand description
TaskCreate tool - create a new task
Implementations§
Source§impl TaskCreateTool
impl TaskCreateTool
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 TaskCreateTool
impl RefUnwindSafe for TaskCreateTool
impl Send for TaskCreateTool
impl Sync for TaskCreateTool
impl Unpin for TaskCreateTool
impl UnsafeUnpin for TaskCreateTool
impl UnwindSafe for TaskCreateTool
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