Tool reference Memories

xale_find_memories · Search everything

Use this Xale MCP tool to search every kind of Memory at once (Notes, Lists, Meetings and Captures) by title, or to filter them by kind.

Read-only toolscope read
View as Markdownmain@c1725f34
What the AI's client sees from tools/list
Title
Search all Memories
Description
Search every kind of Memory at once (Notes, Lists, Meetings, Captures) by title, or filter by kind. Use the matching read tool for content.
Annotations
{
  "title": "Search all Memories",
  "readOnlyHint": true,
  "destructiveHint": false,
  "idempotentHint": true,
  "openWorldHint": false
}

Word for word from listedTools() in src/lib/connector/mcp/tools.ts at main c1725f34. The summary above is these docs' own.

Before you call

  1. You want to check for something before saving, or you don't know which kind it is.

Smallest valid call

arguments
{}

Inputs

Inputs
FieldRequiredLimitsWhat it is
searchstringOptionalAny textPart of the title, any case.
contentTypestringOptionaltext · mediatext: Notes, Lists and Meetings. media: Captures.
semanticKindstringOptionalthought · meeting · reflection · list · mindmapThe kind of text Memory. thought is a plain Note. Other values match nothing.
mediaTypestringOptionallink · file · image · audio · videoThe kind of Capture.
limitintegerOptional1–100, default 50How many, most recently changed first.
  • searchstringRequired: Optional

    Any text. Part of the title, any case.

  • contentTypestringRequired: Optional

    text · media. text: Notes, Lists and Meetings. media: Captures.

  • semanticKindstringRequired: Optional

    thought · meeting · reflection · list · mindmap. The kind of text Memory. thought is a plain Note. Other values match nothing.

  • mediaTypestringRequired: Optional

    link · file · image · audio · video. The kind of Capture.

  • limitintegerRequired: Optional

    1–100, default 50. How many, most recently changed first.

Examples

Returns notice and data: memories (each id, title, contentType, semanticKind, mediaType, linkSubkind, updatedAt) and truncated. It searches the 500 most recently changed active Memories, matching the title as typed in any case; truncated: true means older matches may exist.

Each example is the arguments object your client sends with tools/call. Each response is the JSON parsed from result.content[0].text.

When it refuses

What this read can answer instead of data. Each is a result with isError: true and this sentence as its text. A read changes nothing, so it's always safe to send again.

Refusals
MessageWhenWhat to do
Xale's AI connector needs Xale Pro. The connection is kept and works again when Pro is active.The person doesn't have Xale Pro. Every connector tool checks this, reads too.Tell the person. Nothing was read.
Xale couldn't complete that. Try again shortly (ref …).Something failed inside Xale. Nothing was changed: this is a read.Try again shortly. Quote the ref if the person reports it.
  • Xale's AI connector needs Xale Pro. The connection is kept and works again when Pro is active.

    When The person doesn't have Xale Pro. Every connector tool checks this, reads too.

    Do Tell the person. Nothing was read.

  • Xale couldn't complete that. Try again shortly (ref …).

    When Something failed inside Xale. Nothing was changed: this is a read.

    Do Try again shortly. Quote the ref if the person reports it.

When to use it

One search across every kind, when you don't know which kind it is.

Use it for

  • “Have I saved anything about Lisbon?”
  • Finding a Capture by its title.

Use something else for

  • Mindmaps: xale_find_mindmaps.
  • Tasks, Habits and Projects: their own read tools.
  • Every Note, List or Meeting, or those in one Area: xale_find_notes. This search looks across recent items.

Conduct

  • Say when results may be incomplete (truncated: true).
  • Schema from main c1725f34
  • Examples checked

The name, title, description, hints, kind, scope and inputs come from the server's tool list at that commit (listedTools()). The examples, refusals and notes are written by hand and were checked against the code on that date. The build fails if a refusal sentence here no longer matches the code.

Was this helpful?

xale_find_memories.md · main@c1725f34