loom_search
Search all Loom content—memory, profile, knowledge, conversations, issues, pull requests, and code docs—in one call to answer questions about preferences, decisions, or prior discussions.
Instructions
Unified search across the user's Loom content — memory (facts, preferences, decisions), profile (always-loaded persona sections), knowledge (uploaded documents), past conversations and readable issues and pull requests — one round-trip; under a code scope, also the repository's docs and decisions. This is THE search tool: call it before answering any 'what do I / what did we decide / have we discussed X' question.
One call per question. If the answer is in the response, use it; if it is empty, fall through to native memory rather than declaring 'nothing in Loom'. Re-call on a NEW question, never on the same question in the same turn.
Paging. memory.candidates_total is how many memories matched; memory.results is the top of that list. When memory.next_page is set AND the answer is not in hand (a list, a count), call again with page = memory.next_page to read the next slice. Stop when next_page is empty or the answer is complete.
Memory namespaces and readable trackers are selected server-side; no namespace argument. Under a code scope, defect reports also receive a duplicate verdict. Do NOT call for general knowledge, arithmetic, or code/syntax help.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "loom_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| live | No | Search the asker's connected sources without storing results; disabled by default. | |
| page | No | A `memory.next_page` handle from a previous loom_search response: serves the next slice of that same ranked list without searching again. Leave empty for a new question. | |
| tags | No | Filter memory and knowledge by ANY supplied tag; profile, conversations and tracker search ignore tags. Coding rows carry `project:<folder>` and `repo:<id>` (the id in the session primer). | |
| query | Yes | ||
| top_k | No | ||
| bodies | No | Memory: excerpt (default, 200 chars), full (stored 1,200-char clip), unit (whole values ranked within body_budget_tokens), or none (keys and scores). More via loom_memory_get. | excerpt |
| recipe | No | Optional retrieval profile. Empty uses Loom's default; fast is cheapest, quality widens hybrid recall, verbatim/code favor lexical matches, temporal and graph specialize retrieval. | |
| explain | No | Append a `why:` note per memory hit naming the ranking terms that placed it (key match, date proximity, entity, plane gate, …) and the server's provenance note. |