n2_kv_search
Search project and agent memory snapshots with bounded lexical matching and domain aliases; returns source IDs and matched excerpts for relevant historical context.
Instructions
Read relevant historical snapshots for one project and agent (defaults to boot identity). Bounded lexical matching with domain aliases and correction precedence; source IDs and matched excerpts, no semantic-only ranking.
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>",
"project": "<project>"
},
"name": "n2_kv_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | No | Memory identity; defaults to the booted agent | |
| query | Yes | Search query (keywords, space-separated) | |
| project | Yes | Project name | |
| maxResults | No | Max results (default: 5) |