pub struct GlobTool;Expand description
Tool for finding files matching glob patterns.
Implementations§
Trait Implementations§
Source§impl Tool for GlobTool
impl Tool for GlobTool
Source§type Output = GlobOutput
type Output = GlobOutput
The output type of the tool.
Source§async fn definition(&self, _prompt: String) -> ToolDefinition
async fn definition(&self, _prompt: String) -> ToolDefinition
A method returning the tool definition. The user prompt can be used to
tailor the definition to the specific use case.
Source§impl ToolContext for GlobTool
impl ToolContext for GlobTool
impl Copy for GlobTool
Auto Trait Implementations§
impl Freeze for GlobTool
impl RefUnwindSafe for GlobTool
impl Send for GlobTool
impl Sync for GlobTool
impl Unpin for GlobTool
impl UnwindSafe for GlobTool
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