pub struct CortexMemoryNoteTool { /* private fields */ }Expand description
MCP tool: cortex_memory_note.
Schema:
cortex_memory_note(
claim: string, // required, non-empty
domains?: [string], // default ["operator_note"]
confidence?: float, // default 0.9, must be in [0.0, 1.0]
) -> {
memory_id: string,
claim: string,
domains: [string],
confidence: float,
status: "active",
}When claim is empty the call returns ToolError::InvalidParams.
When confidence is outside [0.0, 1.0] the call returns
ToolError::InvalidParams.
Implementations§
Trait Implementations§
Source§impl Debug for CortexMemoryNoteTool
impl Debug for CortexMemoryNoteTool
Source§impl ToolHandler for CortexMemoryNoteTool
impl ToolHandler for CortexMemoryNoteTool
Auto Trait Implementations§
impl Freeze for CortexMemoryNoteTool
impl RefUnwindSafe for CortexMemoryNoteTool
impl Send for CortexMemoryNoteTool
impl Sync for CortexMemoryNoteTool
impl Unpin for CortexMemoryNoteTool
impl UnsafeUnpin for CortexMemoryNoteTool
impl UnwindSafe for CortexMemoryNoteTool
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