Index raw text
index_textIndex arbitrary text (notes, snippets, logs, memory) into a vector collection for semantic search. Use a stable URI to replace content or append a new version.
Instructions
Index arbitrary text (notes, snippets, memory entries, error logs, user-provided context) into a collection. Use a stable uri to replace previous content for the same uri, or pass replace:false to append a new version.
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": {
"text": "<text>",
"uri": "<uri>"
},
"name": "index_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | Yes | Stable identifier for this content, e.g. "memory/2026-10-01.md". | |
| kind | No | Content kind for filtering: "text", "note", "memory", "log", "spec". Default "text". | |
| meta | No | Arbitrary JSON metadata stored with the document. | |
| text | Yes | The text content to index. | |
| title | No | Human-readable title used to enrich embeddings. | |
| replace | No | Delete existing content for this uri first. Default true. | |
| collection | No | Target collection. Defaults to "default". |