recall_index
Index markdown files or folders into agent memory so they can be recalled later. Re-indexing replaces chunks, allowing safe re-runs after edits and preventing stale data.
Instructions
Index a markdown file or folder into the agent's memory so it can be recalled later.
Re-indexing a file REPLACES its chunks completely (safe to re-run after edits; a shrunk
file leaves no stale chunks behind).
`path` is confined to RECALL_INDEX_ROOT (default: the server's working directory), and the
request is refused before anything is embedded if it exceeds RECALL_INDEX_MAX_FILES or
RECALL_INDEX_MAX_BYTES (see `recall_mcp/service.py`).
Args:
path: a file or directory path (``**/*.md`` is indexed for directories).
Returns:
JSON of {files, chunks, message}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |