pub struct FileWriteTool;Expand description
Write file contents to workspace
Implementations§
Source§impl FileWriteTool
impl FileWriteTool
Trait Implementations§
Source§impl Default for FileWriteTool
impl Default for FileWriteTool
Source§impl Tool for FileWriteTool
impl Tool for FileWriteTool
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 FileWriteTool
impl RefUnwindSafe for FileWriteTool
impl Send for FileWriteTool
impl Sync for FileWriteTool
impl Unpin for FileWriteTool
impl UnsafeUnpin for FileWriteTool
impl UnwindSafe for FileWriteTool
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