Skip to content
⌘K

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.

  • Category: Core
  • Source: Built-in
  • Availability: Listed by default
  • Required parameters: 1
  • Total parameters: 3
ParameterTypeRequiredDescription
project_pathstringYesAbsolute path to the project root
modestring (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.
targetstring (enum: specs, decisions, all)NoWhich markdown-derived projection(s) to rebuild: “specs” (.mm/index/specs.json), “decisions” (.mm/index/decisions.json), or “all” (default, both). Ignored in health mode.
{
"tool": "mm_index",
"arguments": {
"project_path": "/Users/you/projects/my-app",
"mode": "rebuild",
"target": "specs"
}
}
  • 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…