pub struct RecallArgs {
pub query: Option<String>,
pub filter: Option<String>,
pub namespace: Option<String>,
pub mode: Option<String>,
pub detail: Option<String>,
pub limit: Option<usize>,
pub entity: Option<String>,
pub offset: Option<usize>,
pub user_id: Option<String>,
pub agent_id: Option<String>,
}Expand description
Arguments for the recall tool.
When query is omitted or empty, behaves like subcog_list and returns
all memories matching the filter criteria (with pagination support).
Fields§
§query: Option<String>Search query text. If omitted or empty, lists all memories (like subcog_list).
filter: Option<String>GitHub-style filter query (e.g., “ns:decisions tag:rust -tag:test since:7d”).
namespace: Option<String>Filter by namespace (deprecated: use filter instead).
mode: Option<String>Search mode: “hybrid” (default), “vector”, or “text”.
detail: Option<String>Detail level: “light”, “medium” (default), or “everything”.
limit: Option<usize>Maximum number of results to return (default: 10 for search, 50 for list).
entity: Option<String>Entity filter: filter to memories mentioning these entities (comma-separated for OR logic).
offset: Option<usize>Offset for pagination (default: 0). Used when listing without query.
Note: Reserved for future pagination support in list_all().
user_id: Option<String>Filter by user ID (for multi-tenant scoping).
agent_id: Option<String>Filter by agent ID (for multi-agent scoping).
Trait Implementations§
Source§impl Debug for RecallArgs
impl Debug for RecallArgs
Source§impl<'de> Deserialize<'de> for RecallArgs
impl<'de> Deserialize<'de> for RecallArgs
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Auto Trait Implementations§
impl Freeze for RecallArgs
impl RefUnwindSafe for RecallArgs
impl Send for RecallArgs
impl Sync for RecallArgs
impl Unpin for RecallArgs
impl UnwindSafe for RecallArgs
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
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Layered].