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