pub struct GitTool;Expand description
Git operations tool
Implementations§
Trait Implementations§
Source§impl Tool for GitTool
impl Tool for GitTool
Source§fn description(&self) -> &str
fn description(&self) -> &str
Tool description
Source§fn parameters_schema(&self) -> Value
fn parameters_schema(&self) -> Value
JSON schema for tool parameters
Source§fn requires_network(&self) -> bool
fn requires_network(&self) -> bool
Whether this tool requires network access.
Default is
true (conservative).
Override to false for local-only tools (e.g., file, calculator).Auto Trait Implementations§
impl Freeze for GitTool
impl RefUnwindSafe for GitTool
impl Send for GitTool
impl Sync for GitTool
impl Unpin for GitTool
impl UnsafeUnpin for GitTool
impl UnwindSafe for GitTool
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