pub struct ExitWorktreeTool;Expand description
ExitWorktree tool - exit a worktree and return to original directory
Implementations§
Source§impl ExitWorktreeTool
impl ExitWorktreeTool
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 ExitWorktreeTool
impl RefUnwindSafe for ExitWorktreeTool
impl Send for ExitWorktreeTool
impl Sync for ExitWorktreeTool
impl Unpin for ExitWorktreeTool
impl UnsafeUnpin for ExitWorktreeTool
impl UnwindSafe for ExitWorktreeTool
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