mm_index
Rebuild or health-check the ledger semantic embedding index (.mm/index/ledger/, used by mm_search’s hybrid mode and mm_retrieve_prior_work), and/or rebuild the markdown-derived projections .mm/index/specs.json and .mm/index/decisions.json. mode (“rebuild” | “health”) selects the ledger operation and is omitted to skip the ledger entirely; target (“specs” | “decisions” | “all”, default “all”) selects which projection(s) to rebuild alongside or instead of it — call with target: "decisions" after recording a decision so the board sees it.
At a Glance
Section titled “At a Glance”- Category: Core
- Source: Built-in
- Availability: Listed by default
- Required parameters: 1
- Total parameters: 3
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
project_path | string | Yes | Absolute path to the project root |
mode | string (enum: rebuild, health) | No | ”rebuild”: full re-embed of the ledger. “health”: report-only, no writes. Omit to skip the ledger and only rebuild target. |
target | string (enum: specs, decisions, all) | No | Which markdown-derived projection(s) to rebuild: “specs” (.mm/index/specs.json), “decisions” (.mm/index/decisions.json), or “all” (default, both). Ignored in health mode. |
Example
Section titled “Example”{ "tool": "mm_index", "arguments": { "project_path": "/Users/you/projects/my-app", "mode": "rebuild", "target": "specs" }}Related Tools
Section titled “Related Tools”mm_search- Full-text search across all entity types (specs, features, issues, notes, ide…mm_configure_integration- Configure an external service integration (github, trello, grain, gmail, noti…mm_sync_notion- Bidirectional sync between a Notion database and .mm/specs/ or .mm/notes/. Pu…mm_daily_brief- Generate a structured morning summary with active tasks, blockers, recently c…mm_revert_spec_completion- Revert a spec’s completion status in its parent feature. Tasks stay [x] but t…