pub struct ListFilesTool {
pub max_results: usize,
pub timeout: Duration,
}Expand description
List files and directories. Uses find or fd for efficient traversal.
Fields§
§max_results: usize§timeout: DurationImplementations§
Source§impl ListFilesTool
impl ListFilesTool
Trait Implementations§
Source§impl AgentTool for ListFilesTool
impl AgentTool for ListFilesTool
Source§fn description(&self) -> &str
fn description(&self) -> &str
Description for the LLM
Source§fn parameters_schema(&self) -> Value
fn parameters_schema(&self) -> Value
JSON Schema for parameters
Auto Trait Implementations§
impl Freeze for ListFilesTool
impl RefUnwindSafe for ListFilesTool
impl Send for ListFilesTool
impl Sync for ListFilesTool
impl Unpin for ListFilesTool
impl UnsafeUnpin for ListFilesTool
impl UnwindSafe for ListFilesTool
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