pub struct ToolSearchTool;Expand description
Meta-tool for discovering available tools dynamically.
Implementations§
Source§impl ToolSearchTool
impl ToolSearchTool
Sourcepub fn execute(
tool_use_id: &str,
tool_name: &str,
input: &Value,
_context: &ToolContext,
registry: &ToolRegistry,
) -> ToolResult
pub fn execute( tool_use_id: &str, tool_name: &str, input: &Value, _context: &ToolContext, registry: &ToolRegistry, ) -> ToolResult
Execute the tool search tool by name.
Auto Trait Implementations§
impl Freeze for ToolSearchTool
impl RefUnwindSafe for ToolSearchTool
impl Send for ToolSearchTool
impl Sync for ToolSearchTool
impl Unpin for ToolSearchTool
impl UnsafeUnpin for ToolSearchTool
impl UnwindSafe for ToolSearchTool
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