pub struct TaskUpdateTool;Expand description
TaskUpdate tool - update a task
Implementations§
Source§impl TaskUpdateTool
impl TaskUpdateTool
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 TaskUpdateTool
impl RefUnwindSafe for TaskUpdateTool
impl Send for TaskUpdateTool
impl Sync for TaskUpdateTool
impl Unpin for TaskUpdateTool
impl UnsafeUnpin for TaskUpdateTool
impl UnwindSafe for TaskUpdateTool
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