pub struct MemoryLookupTool { /* private fields */ }Expand description
memory.lookup — reusable kernel tool for semantic or lexical memory pivots.
Implementations§
Source§impl MemoryLookupTool
impl MemoryLookupTool
Sourcepub const NAME: &'static str = "memory.lookup"
pub const NAME: &'static str = "memory.lookup"
Stable tool name consumed by crate::MemoryPivotSkill.
Sourcepub fn new(store: Arc<dyn MemoryLookupStore>) -> Self
pub fn new(store: Arc<dyn MemoryLookupStore>) -> Self
Create a lookup tool backed by store.
Trait Implementations§
Source§impl Tool for MemoryLookupTool
impl Tool for MemoryLookupTool
Source§fn schema(&self) -> ToolSchema
fn schema(&self) -> ToolSchema
Return this tool’s JSON-Schema-compatible contract.
Auto Trait Implementations§
impl Freeze for MemoryLookupTool
impl !RefUnwindSafe for MemoryLookupTool
impl Send for MemoryLookupTool
impl Sync for MemoryLookupTool
impl Unpin for MemoryLookupTool
impl UnsafeUnpin for MemoryLookupTool
impl !UnwindSafe for MemoryLookupTool
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