Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Tool Matrix SSOT

Machine-oriented routing matrix for the current m1nd tool surface.

Source Of Truth

  • m1nd-mcp/src/server.rs tool schema registry and the live tools/list response are the callable surface. Use tools/list for the exact count in your current build.
  • This matrix is the routing SSOT for the canonical tool surface used by agents and LLMs.
  • Any page that advertises a fixed tool count can drift. Treat tools/list as counting truth.

Row Contract

fieldmeaning
commandcanonical bare MCP call name returned by tools/list
categoryrouting bucket
core_functionshortest truthful description of what the tool does
choose_whenpositive routing trigger
avoid_whendisqualifier / better alternative
requiredminimum required args
returnsstable output surface an LLM can plan around
nextadjacent tools / likely next hop

Foundation

commandcore_functionchoose_whenavoid_whenrequiredreturnsnext
ingestParse a codebase, markdown docs, or JSON domain graph into the semantic graph.Start or refresh graph truth for a repo, file, docs corpus, or descriptor before higher-order queries.Avoid when you already have the exact file/line or only need raw compiler/runtime truth.agent_id; pathgraph_counts; files_scanned; files_parsed; nodes_created; edges_created; elapsed_msactivate -> impact -> why
activateSpreading activation query — fires signal into the graph and returns a 4D-scored activation pattern.Use when the query is associative or subsystem-shaped and you want connected structure, not exact text.Avoid when you already have the exact file/line or only need raw compiler/runtime truth.agent_id; queryseeds; activated; ghost_edges; structural_holes; plasticity; elapsed_msactivate -> impact -> why
impactBlast radius of a code change — BFS-propagated signal strength from a source node.Use before edits to estimate blast radius.Avoid when you already have the exact file/line or only need raw compiler/runtime truth.agent_id; node_idblast_radius; total_energy; causal_chainsactivate -> impact -> why
whyShortest path between two nodes — understand how A depends on B.Use to explain how two nodes are connected.Avoid when you already have the exact file/line or only need raw compiler/runtime truth.agent_id; source; targetpath; hops; edge_types; path_weightactivate -> impact -> why
learnHebbian feedback — tell the graph which results were correct or wrong. Edge weights strengthen or weaken accordingly.Hebbian feedback — tell the graph which results were correct or wrong. Edge weights strengthen or weaken accordingly.Avoid when you already have the exact file/line or only need raw compiler/runtime truth.agent_id; query; feedback; node_idsedges_modified; trust_records_updated; tremor_observations_recordedactivate -> impact -> why
driftWhat changed in the graph since your last session — structural delta for context recovery.What changed in the graph since your last session — structural delta for context recovery.Avoid when you already have the exact file/line or only need raw compiler/runtime truth.agent_idbaseline; changed_nodes; weight_drift; summaryactivate -> impact -> why
healthServer diagnostics — verify the MCP server is alive and the graph is loaded.Server diagnostics — verify the MCP server is alive and the graph is loaded.Avoid when you already have the exact file/line or only need raw compiler/runtime truth.agent_idnode_count; edge_count; sessions; graph_stateactivate -> impact -> why
seekFind code by natural language intent — more targeted than activate for specific lookups.Use when you know the purpose of code but not its location.Avoid when you already have the exact file/line or only need raw compiler/runtime truth.agent_id; querytool-specific JSON payload; inspect API reference / tools/listactivate -> impact -> why
scanRun structural pattern scanners. Use a predefined pattern ID or a custom pattern string.Run structural pattern scanners. Use a predefined pattern ID or a custom pattern string.Avoid when you already have the exact file/line or only need raw compiler/runtime truth.agent_id; patterntool-specific JSON payload; inspect API reference / tools/listactivate -> impact -> why
timelineTemporal evolution of a node — change history, co-change partners, velocity, stability.Temporal evolution of a node — change history, co-change partners, velocity, stability.Avoid when you already have the exact file/line or only need raw compiler/runtime truth.agent_id; nodetool-specific JSON payload; inspect API reference / tools/listactivate -> impact -> why
divergeStructural drift analysis — compare graph state against a baseline reference.Structural drift analysis — compare graph state against a baseline reference.Avoid when you already have the exact file/line or only need raw compiler/runtime truth.agent_id; baselinetool-specific JSON payload; inspect API reference / tools/listactivate -> impact -> why
warmupPrime the graph for an upcoming task — pre-activates seed nodes to improve subsequent query relevance.Prime the graph for an upcoming task — pre-activates seed nodes to improve subsequent query relevance.Avoid when you already have the exact file/line or only need raw compiler/runtime truth.agent_id; task_descriptiontool-specific JSON payload; inspect API reference / tools/listactivate -> impact -> why
federateUnify multiple repositories into one graph — cross-repo blast radius and dependency analysis.Use when you already know the repo list to unify.Avoid when you already have the exact file/line or only need raw compiler/runtime truth.agent_id; repostool-specific JSON payload; inspect API reference / tools/listactivate -> impact -> why
federate_autoDiscover candidate sibling repositories from explicit external path references, local manifest/workspace hints, import/package-name evidence, shared API-route signals, or basic contract artifacts and optionally execute federation in one step.Use when you suspect neighboring repos matter but only have path/import/contract evidence.Avoid when you already have the exact file/line or only need raw compiler/runtime truth.agent_iddiscovered_repos; suggested_repos; executed; federate_resultactivate -> impact -> why

Document Intelligence

commandcore_functionchoose_whenavoid_whenrequiredreturnsnext
document_resolveresolve canonical local artifacts for a universally ingested documentUse when a doc already exists in the graph and you need the local canonical artifact paths.Avoid when you only need a fresh ingest or raw source text.agent_idcanonical_markdown_path; canonical_json_path; claims_path; producer; binding_count; drift_summarydocument_bindings -> document_drift -> view
document_provider_healthreport optional provider availability, mode, detail, and install hintsUse before relying on richer HTML/PDF/office extraction or when a provider lane seems to be falling back unexpectedly.Avoid when provider setup is irrelevant to the current task.agent_idpython; providers[]ingest -> document_resolve -> auto_ingest_start
document_bindingsshow deterministic document-to-code bindings for a universal documentUse when the question is “which code implements this doc?” or “what should I inspect first?”Avoid when you only need the artifact paths or provider status.agent_idbindings[]; source_pathdocument_drift -> impact -> surgical_context_v2
document_driftdetect stale, missing, or ambiguous document/code linksUse after refactors, repo moves, or suspected stale specs.Avoid before the document has been ingested or bound.agent_idfindings[]; summarydocument_bindings -> impact -> timeline
auto_ingest_startstart local-first document watchers for supported roots and formatsUse when a docs/specs/wiki root should stay synchronized with the graph while you work.Avoid for one-shot ingest or read-only inspection.agent_id; rootsrunning; provider_status; bootstrapauto_ingest_status -> auto_ingest_tick -> document_resolve
auto_ingest_statusinspect the document auto-ingest runtime, semantic counts, provider status, and route/fallback countsUse to monitor watcher state, queue depth, or document runtime telemetry.Avoid if you only need a direct document refresh or binding result.agent_idrunning; queue_depth; semantic_*; provider_*; recent_eventsauto_ingest_tick -> document_drift -> document_provider_health
auto_ingest_tickdrain queued document changes immediately and apply them to the graphUse when a caller needs deterministic immediate reconciliation instead of waiting for opportunistic ticks.Avoid when no watched roots are active.agent_idingested_paths; removed_paths; skipped_paths; errored_pathsdocument_resolve -> document_drift -> lock_diff
auto_ingest_stopstop document watchers and persist manifest stateUse when shutting down or changing watched roots.Avoid during active watch-driven reconciliation you still need.agent_idstopped; manifest_entriesauto_ingest_start -> auto_ingest_status

Perspective Navigation

commandcore_functionchoose_whenavoid_whenrequiredreturnsnext
perspective_startOpen a perspective anchored to a node. Perspectives are stateful navigation sessions.Open a perspective anchored to a node. Perspectives are stateful navigation sessions.Avoid for stateless one-shot lookups; prefer seek/search/view when you do not need navigation state.agent_id; querytool-specific JSON payload; inspect API reference / tools/listperspective_routes -> perspective_follow -> perspective_inspect
perspective_routesList available navigation routes from the current focus node.List available navigation routes from the current focus node.Avoid for stateless one-shot lookups; prefer seek/search/view when you do not need navigation state.agent_id; perspective_idtool-specific JSON payload; inspect API reference / tools/listperspective_routes -> perspective_follow -> perspective_inspect
perspective_followMove the perspective focus to a route target.Move the perspective focus to a route target.Avoid for stateless one-shot lookups; prefer seek/search/view when you do not need navigation state.agent_id; perspective_idtool-specific JSON payload; inspect API reference / tools/listperspective_routes -> perspective_follow -> perspective_inspect
perspective_backNavigate backward to the previous focus node.Navigate backward to the previous focus node.Avoid for stateless one-shot lookups; prefer seek/search/view when you do not need navigation state.agent_idtool-specific JSON payload; inspect API reference / tools/listperspective_routes -> perspective_follow -> perspective_inspect
perspective_peekRead source code at the currently focused node (returns file content at the node’s location).Read source code at the currently focused node (returns file content at the node’s location).Avoid for stateless one-shot lookups; prefer seek/search/view when you do not need navigation state.agent_id; perspective_idtool-specific JSON payload; inspect API reference / tools/listperspective_routes -> perspective_follow -> perspective_inspect
perspective_inspectDeep metadata + 5-factor score breakdown for a route’s target node.Deep metadata + 5-factor score breakdown for a route’s target node.Avoid for stateless one-shot lookups; prefer seek/search/view when you do not need navigation state.agent_id; perspective_idtool-specific JSON payload; inspect API reference / tools/listperspective_routes -> perspective_follow -> perspective_inspect
perspective_suggestAI navigation recommendation — the graph suggests which route to follow next.AI navigation recommendation — the graph suggests which route to follow next.Avoid for stateless one-shot lookups; prefer seek/search/view when you do not need navigation state.agent_id; perspective_idtool-specific JSON payload; inspect API reference / tools/listperspective_routes -> perspective_follow -> perspective_inspect
perspective_affinityCheck route relevance to the current investigation.Check route relevance to the current investigation.Avoid for stateless one-shot lookups; prefer seek/search/view when you do not need navigation state.agent_id; perspective_idtool-specific JSON payload; inspect API reference / tools/listperspective_routes -> perspective_follow -> perspective_inspect
perspective_branchFork an independent perspective copy for parallel exploration. Two agents can investigate the same starting point independently, then compare findings.Fork an independent perspective copy for parallel exploration. Two agents can investigate the same starting point independently, then compare findings.Avoid for stateless one-shot lookups; prefer seek/search/view when you do not need navigation state.agent_id; perspective_idtool-specific JSON payload; inspect API reference / tools/listperspective_routes -> perspective_follow -> perspective_inspect
perspective_compareDiff two perspectives — shared nodes, unique nodes, divergent findings.Diff two perspectives — shared nodes, unique nodes, divergent findings.Avoid for stateless one-shot lookups; prefer seek/search/view when you do not need navigation state.agent_id; perspective_id_a; perspective_id_btool-specific JSON payload; inspect API reference / tools/listperspective_routes -> perspective_follow -> perspective_inspect
perspective_listAll active perspectives for this agent, with memory usage.All active perspectives for this agent, with memory usage.Avoid for stateless one-shot lookups; prefer seek/search/view when you do not need navigation state.agent_idtool-specific JSON payload; inspect API reference / tools/listperspective_routes -> perspective_follow -> perspective_inspect
perspective_closeRelease perspective state and free memory.Release perspective state and free memory.Avoid for stateless one-shot lookups; prefer seek/search/view when you do not need navigation state.agent_idtool-specific JSON payload; inspect API reference / tools/listperspective_routes -> perspective_follow -> perspective_inspect

Lock System

commandcore_functionchoose_whenavoid_whenrequiredreturnsnext
lock_createSnapshot a subgraph region.Snapshot a subgraph region.Avoid for solo read-only work; use only when coordination or baseline diffs matter.agent_id; scope; root_nodestool-specific JSON payload; inspect API reference / tools/listlock_watch -> lock_diff -> lock_rebase
lock_watchRegister a change strategy on a lock.Register a change strategy on a lock.Avoid for solo read-only work; use only when coordination or baseline diffs matter.agent_idtool-specific JSON payload; inspect API reference / tools/listlock_watch -> lock_diff -> lock_rebase
lock_diffCompare current graph state against the locked baseline. Returns changes since the lock was created.Compare current graph state against the locked baseline. Returns changes since the lock was created.Avoid for solo read-only work; use only when coordination or baseline diffs matter.agent_idtool-specific JSON payload; inspect API reference / tools/listlock_watch -> lock_diff -> lock_rebase
lock_rebaseAdvance the lock baseline to the current graph state (after reviewing and accepting changes).Advance the lock baseline to the current graph state (after reviewing and accepting changes).Avoid for solo read-only work; use only when coordination or baseline diffs matter.agent_idtool-specific JSON payload; inspect API reference / tools/listlock_watch -> lock_diff -> lock_rebase
lock_releaseFree lock state and release memory.Free lock state and release memory.Avoid for solo read-only work; use only when coordination or baseline diffs matter.agent_idtool-specific JSON payload; inspect API reference / tools/listlock_watch -> lock_diff -> lock_rebase

Superpowers

commandcore_functionchoose_whenavoid_whenrequiredreturnsnext
hypothesizeTest a claim against graph structure using Bayesian path scoring. 89% accuracy validated on 10 live claims against a production codebase.Test a claim against graph structure using Bayesian path scoring. 89% accuracy validated on 10 live claims against a production codebase.Avoid for plain text lookup or trivial file reads; these are structural reasoning tools.agent_id; claimtool-specific JSON payload; inspect API reference / tools/listhypothesize -> validate_plan -> trace
counterfactualSimulate module removal — compute full cascade of what breaks.Simulate module removal — compute full cascade of what breaks.Avoid for plain text lookup or trivial file reads; these are structural reasoning tools.agent_id; node_idstool-specific JSON payload; inspect API reference / tools/listhypothesize -> validate_plan -> trace
missingFind structural holes — what should exist in a region of the graph but doesn’t.Find structural holes — what should exist in a region of the graph but doesn’t.Avoid for plain text lookup or trivial file reads; these are structural reasoning tools.agent_id; querytool-specific JSON payload; inspect API reference / tools/listhypothesize -> validate_plan -> trace
resonateStanding wave analysis — find structural hubs where signal reinforces across multiple dimensions simultaneously.Standing wave analysis — find structural hubs where signal reinforces across multiple dimensions simultaneously.Avoid for plain text lookup or trivial file reads; these are structural reasoning tools.agent_idtool-specific JSON payload; inspect API reference / tools/listhypothesize -> validate_plan -> trace
fingerprintFind structural twins — nodes with identical or near-identical topology.Find structural twins — nodes with identical or near-identical topology.Avoid for plain text lookup or trivial file reads; these are structural reasoning tools.agent_idtool-specific JSON payload; inspect API reference / tools/listhypothesize -> validate_plan -> trace
traceMap a stacktrace to root cause suspects — ranks files by suspiciousness × centrality.Map a stacktrace to root cause suspects — ranks files by suspiciousness × centrality.Avoid for plain text lookup or trivial file reads; these are structural reasoning tools.agent_id; error_texttool-specific JSON payload; inspect API reference / tools/listhypothesize -> validate_plan -> trace
validate_planPre-flight risk assessment for a set of planned changes — blast radius, gap count, risk score.Use before editing or merging to pre-flight risk and test impact.Avoid for plain text lookup or trivial file reads; these are structural reasoning tools.agent_id; actionsrisk_score; gaps; suggested_additions; heuristic_summaryhypothesize -> validate_plan -> trace
predictCo-change prediction — given a file you just changed, which other files likely need changes too.Co-change prediction — given a file you just changed, which other files likely need changes too.Avoid for plain text lookup or trivial file reads; these are structural reasoning tools.agent_id; changed_nodetool-specific JSON payload; inspect API reference / tools/listhypothesize -> validate_plan -> trace
trail_savePersist investigation state — hypotheses, conclusions, open questions, visited nodes, and activation boosts.Persist investigation state — hypotheses, conclusions, open questions, visited nodes, and activation boosts.Avoid for plain text lookup or trivial file reads; these are structural reasoning tools.agent_id; labeltool-specific JSON payload; inspect API reference / tools/listhypothesize -> validate_plan -> trace
trail_resumeRestore exact investigation context — nodes, weights, hypotheses — from a saved trail.Restore exact investigation context — nodes, weights, hypotheses — from a saved trail.Avoid for plain text lookup or trivial file reads; these are structural reasoning tools.agent_id; trail_idtool-specific JSON payload; inspect API reference / tools/listhypothesize -> validate_plan -> trace
trail_mergeCombine two or more agents’ independent investigations. Auto-detects where they converged and flags conflicts on shared hypotheses.Combine two or more agents’ independent investigations. Auto-detects where they converged and flags conflicts on shared hypotheses.Avoid for plain text lookup or trivial file reads; these are structural reasoning tools.agent_id; trail_idstool-specific JSON payload; inspect API reference / tools/listhypothesize -> validate_plan -> trace
trail_listBrowse all saved investigations with optional filters.Browse all saved investigations with optional filters.Avoid for plain text lookup or trivial file reads; these are structural reasoning tools.agent_idtool-specific JSON payload; inspect API reference / tools/listhypothesize -> validate_plan -> trace
differentialFocused structural diff between two graph snapshots — surface what changed structurally between two points in time.Focused structural diff between two graph snapshots — surface what changed structurally between two points in time.Avoid for plain text lookup or trivial file reads; these are structural reasoning tools.agent_id; snapshot_a; snapshot_btool-specific JSON payload; inspect API reference / tools/listhypothesize -> validate_plan -> trace

Superpowers Extended

commandcore_functionchoose_whenavoid_whenrequiredreturnsnext
antibody_scanScan the graph against all stored bug antibody patterns (known bug shapes). Returns matches with confidence and bindings.Scan the graph against all stored bug antibody patterns (known bug shapes). Returns matches with confidence and bindings.Avoid before you have a scoped suspect area; these are deeper risk/simulation tools.agent_idtool-specific JSON payload; inspect API reference / tools/listtrust -> tremor -> heuristics_surface
antibody_listList all stored antibodies with match history.List all stored antibodies with match history.Avoid before you have a scoped suspect area; these are deeper risk/simulation tools.agent_idtool-specific JSON payload; inspect API reference / tools/listtrust -> tremor -> heuristics_surface
antibody_createCreate, disable, enable, or delete an antibody pattern.Create, disable, enable, or delete an antibody pattern.Avoid before you have a scoped suspect area; these are deeper risk/simulation tools.agent_idtool-specific JSON payload; inspect API reference / tools/listtrust -> tremor -> heuristics_surface
flow_simulateConcurrent execution flow simulation — particles travel the graph in parallel, turbulence points are shared mutable state collisions (race conditions).Concurrent execution flow simulation — particles travel the graph in parallel, turbulence points are shared mutable state collisions (race conditions).Avoid before you have a scoped suspect area; these are deeper risk/simulation tools.agent_idtool-specific JSON payload; inspect API reference / tools/listtrust -> tremor -> heuristics_surface
epidemicSIR epidemiological bug propagation — given known-buggy modules, predict which neighbors are most likely to harbor undiscovered bugs.SIR epidemiological bug propagation — given known-buggy modules, predict which neighbors are most likely to harbor undiscovered bugs.Avoid before you have a scoped suspect area; these are deeper risk/simulation tools.agent_id; infected_nodestool-specific JSON payload; inspect API reference / tools/listtrust -> tremor -> heuristics_surface
tremorChange frequency acceleration detection — identifies modules with accelerating change frequency. Acceleration precedes bugs, not just high churn.Change frequency acceleration detection — identifies modules with accelerating change frequency. Acceleration precedes bugs, not just high churn.Avoid before you have a scoped suspect area; these are deeper risk/simulation tools.agent_idtool-specific JSON payload; inspect API reference / tools/listtrust -> tremor -> heuristics_surface
trustPer-module actuarial trust scores from defect history. More confirmed bugs = lower trust = higher risk weighting in activation queries.Per-module actuarial trust scores from defect history. More confirmed bugs = lower trust = higher risk weighting in activation queries.Avoid before you have a scoped suspect area; these are deeper risk/simulation tools.agent_idtool-specific JSON payload; inspect API reference / tools/listtrust -> tremor -> heuristics_surface
layersAuto-detect architectural layers from graph topology. Uses BFS longest-path depth assignment + Tarjan SCC for circular groups. Reports dependency violations.Auto-detect architectural layers from graph topology. Uses BFS longest-path depth assignment + Tarjan SCC for circular groups. Reports dependency violations.Avoid before you have a scoped suspect area; these are deeper risk/simulation tools.agent_idtool-specific JSON payload; inspect API reference / tools/listtrust -> tremor -> heuristics_surface
layer_inspectInspect a specific architectural layer: nodes, inter-layer connections, health metrics.Inspect a specific architectural layer: nodes, inter-layer connections, health metrics.Avoid before you have a scoped suspect area; these are deeper risk/simulation tools.agent_id; leveltool-specific JSON payload; inspect API reference / tools/listtrust -> tremor -> heuristics_surface

RETROBUILDER

commandcore_functionchoose_whenavoid_whenrequiredreturnsnext
ghost_edgestemporal co-change ghost edges from git historytemporal co-change ghost edges from git historyAvoid without git/runtime/security context; use only when that extra plane matters.agent_idtool-specific JSON payload; inspect API reference / tools/listruntime_overlay -> trace -> impact
taint_tracetaint propagation over graph structuretaint propagation over graph structureAvoid without git/runtime/security context; use only when that extra plane matters.agent_idtool-specific JSON payload; inspect API reference / tools/listruntime_overlay -> trace -> impact
twinsstructural equivalence / near-equivalence discoverystructural equivalence / near-equivalence discoveryAvoid without git/runtime/security context; use only when that extra plane matters.agent_idtool-specific JSON payload; inspect API reference / tools/listruntime_overlay -> trace -> impact
refactor_plangraph-native refactoring proposalsgraph-native refactoring proposalsAvoid without git/runtime/security context; use only when that extra plane matters.agent_idtool-specific JSON payload; inspect API reference / tools/listruntime_overlay -> trace -> impact
runtime_overlayruntime heat and error overlays from OTel spansruntime heat and error overlays from OTel spansAvoid without git/runtime/security context; use only when that extra plane matters.agent_idtool-specific JSON payload; inspect API reference / tools/listruntime_overlay -> trace -> impact

Surgical

commandcore_functionchoose_whenavoid_whenrequiredreturnsnext
heuristics_surfaceExplain why a node/file ranked as risky or important.Explain why a node/file ranked as risky or important.Avoid before locating the target surface; use seek/search/impact first.agent_idtool-specific JSON payload; inspect API reference / tools/listheuristics_surface -> batch_view -> apply_batch
surgical_contextReturn complete context for a file in one call: full source, symbol table, callers, callees, and test coverage neighbours. Use before apply for single-file edits.Use before single-file edits.Avoid before locating the target surface; use seek/search/impact first.agent_id; file_pathtool-specific JSON payload; inspect API reference / tools/listheuristics_surface -> batch_view -> apply_batch
applyapply now returns proactive_insights when a write lands on a risky or historically unstable surface.Use to write one file and keep the graph coherent.Avoid before locating the target surface; use seek/search/impact first.agent_id; file_path; new_contentupdated_node_ids; proactive_insights; elapsed_msheuristics_surface -> batch_view -> apply_batch
viewFast file reader with line numbers and optional auto-ingest.Use when you already know the file and need bounded line-numbered reading.Avoid before locating the target surface; use seek/search/impact first.agent_idtool-specific JSON payload; inspect API reference / tools/listheuristics_surface -> batch_view -> apply_batch
surgical_context_v2Superset of surgical_context — returns the target file’s full contents AND source excerpts of all connected files (callers, callees, tests) in one call. Eliminates the need to read multiple files separately. Use before apply_batch when editing a file and its callers/tests together.Use before multi-file edits where connected source context matters.Avoid before locating the target surface; use seek/search/impact first.agent_id; file_pathtool-specific JSON payload; inspect API reference / tools/listheuristics_surface -> batch_view -> apply_batch
apply_batchapply_batch now returns proactive_insights, and the final batch_completed progress event carries the same payload for streaming clients.Use to write multiple files atomically and optionally verify.Avoid before locating the target surface; use seek/search/impact first.agent_id; editsresults; verification; proactive_insights; progress_eventsheuristics_surface -> batch_view -> apply_batch
edit_previewPreview a write without touching disk.Preview a write without touching disk.Avoid before locating the target surface; use seek/search/impact first.agent_idtool-specific JSON payload; inspect API reference / tools/listheuristics_surface -> batch_view -> apply_batch
edit_commitCommit a previewed edit after confirmation and freshness check.Commit a previewed edit after confirmation and freshness check.Avoid before locating the target surface; use seek/search/impact first.agent_idtool-specific JSON payload; inspect API reference / tools/listheuristics_surface -> batch_view -> apply_batch

Search & Efficiency

commandcore_functionchoose_whenavoid_whenrequiredreturnsnext
searchUnified literal/regex/semantic search — graph-aware grep replacement. Searches both node labels in the graph and file contents on disk, returning results with line context.Use for exact text, regex, or semantic grep across graph + file content.Avoid for write/plan validation; these help orientation and summary, not mutation safety.agent_id; queryresults; total_matches; proof_state; next_suggested_toolsearch/glob -> batch_view -> coverage_session
globGraph-aware file globbing over indexed files.Use when you need files by path pattern, not content.Avoid for write/plan validation; these help orientation and summary, not mutation safety.agent_idtool-specific JSON payload; inspect API reference / tools/listsearch/glob -> batch_view -> coverage_session
helpSelf-documenting tool reference with m1nd’s visual identity. Returns a formatted index of all tools or detailed docs for a specific tool — including params, examples, and NEXT suggestions.Self-documenting tool reference with m1nd’s visual identity. Returns a formatted index of all tools or detailed docs for a specific tool — including params, examples, and NEXT suggestions.Avoid for write/plan validation; these help orientation and summary, not mutation safety.agent_idtool-specific JSON payload; inspect API reference / tools/listsearch/glob -> batch_view -> coverage_session
panoramicFull module risk panorama — ranked view of every file-level node by combined risk score. Combines blast radius, centrality, and churn into one sorted list. Critical modules (risk ≥ 0.7) trigger alerts.Full module risk panorama — ranked view of every file-level node by combined risk score. Combines blast radius, centrality, and churn into one sorted list. Critical modules (risk ≥ 0.7) trigger alerts.Avoid for write/plan validation; these help orientation and summary, not mutation safety.agent_idmodules; critical_alerts; summarysearch/glob -> batch_view -> coverage_session
savingsToken economy report — session and global tracking of tokens saved by using m1nd instead of grep/glob, with CO2 estimation.Token economy report — session and global tracking of tokens saved by using m1nd instead of grep/glob, with CO2 estimation.Avoid for write/plan validation; these help orientation and summary, not mutation safety.agent_idtool-specific JSON payload; inspect API reference / tools/listsearch/glob -> batch_view -> coverage_session
reportSession summary — query log, timing statistics, tokens saved, and graph state for the calling agent. Provides a markdown-formatted report ready for display or logging.Session summary — query log, timing statistics, tokens saved, and graph state for the calling agent. Provides a markdown-formatted report ready for display or logging.Avoid for write/plan validation; these help orientation and summary, not mutation safety.agent_idrecent_queries; savings; hotspot_summarysearch/glob -> batch_view -> coverage_session
metricsReturn structural metrics per file/function/module.Use when you want ranked structural measures, not semantic retrieval.Avoid for write/plan validation; these help orientation and summary, not mutation safety.agent_identries; summarysearch/glob -> batch_view -> coverage_session
type_traceTrace where a type/struct/enum is used across the graph.Use when following a type across files and callsites.Avoid for write/plan validation; these help orientation and summary, not mutation safety.agent_idusages; file_groupssearch/glob -> batch_view -> coverage_session
diagramGenerate Mermaid or DOT graph diagrams.Use when you need a visual graph slice for humans or downstream agents.Avoid for write/plan validation; these help orientation and summary, not mutation safety.agent_idformat; diagram; node_countsearch/glob -> batch_view -> coverage_session

Audit & Session

commandcore_functionchoose_whenavoid_whenrequiredreturnsnext
batch_viewmulti-file read surface with stable delimiters and summariesmulti-file read surface with stable delimiters and summariesAvoid for tiny one-file questions; these are orchestration and session-shaping tools.agent_idtool-specific JSON payload; inspect API reference / tools/listaudit -> batch_view -> cross_verify
scan_allrun all structural patterns in one callrun all structural patterns in one callAvoid for tiny one-file questions; these are orchestration and session-shaping tools.agent_idtool-specific JSON payload; inspect API reference / tools/listaudit -> batch_view -> cross_verify
cross_verifygraph vs disk verification (existence, loc, hash)graph vs disk verification (existence, loc, hash)Avoid for tiny one-file questions; these are orchestration and session-shaping tools.agent_idtool-specific JSON payload; inspect API reference / tools/listaudit -> batch_view -> cross_verify
coverage_sessionwhat this agent has visited so farwhat this agent has visited so farAvoid for tiny one-file questions; these are orchestration and session-shaping tools.agent_idtool-specific JSON payload; inspect API reference / tools/listaudit -> batch_view -> cross_verify
external_referencesexplicit paths outside ingest rootsexplicit paths outside ingest rootsAvoid for tiny one-file questions; these are orchestration and session-shaping tools.agent_idtool-specific JSON payload; inspect API reference / tools/listaudit -> batch_view -> cross_verify
auditprofile-aware one-call auditprofile-aware one-call auditAvoid for tiny one-file questions; these are orchestration and session-shaping tools.agent_idtool-specific JSON payload; inspect API reference / tools/listaudit -> batch_view -> cross_verify
daemon_startactivate the persisted daemon control plane and set watch roots / poll intervalactivate the persisted daemon control plane and set watch roots / poll intervalAvoid for tiny one-file questions; these are orchestration and session-shaping tools.agent_idtool-specific JSON payload; inspect API reference / tools/listaudit -> batch_view -> cross_verify
daemon_stopstop the daemon control plane without discarding alert historystop the daemon control plane without discarding alert historyAvoid for tiny one-file questions; these are orchestration and session-shaping tools.agent_idtool-specific JSON payload; inspect API reference / tools/listaudit -> batch_view -> cross_verify
daemon_statusinspect daemon runtime state, watch roots, and alert countsUse to inspect daemon liveness, tracked files, and recent tick metrics.Avoid for tiny one-file questions; these are orchestration and session-shaping tools.agent_idactive; tracked_files; tick_count; last_tick_duration_ms; last_tick_changed_files; last_tick_deleted_files; last_tick_alerts_emittedaudit -> batch_view -> cross_verify
daemon_tickpoll watched roots once, incrementally re-ingest changed files, and emit deletion drift alertsUse when you want one explicit delta-processing pass over watched roots.Avoid for tiny one-file questions; these are orchestration and session-shaping tools.agent_idchanged_files_detected; deleted_files_detected; files_reingested; alerts_emittedaudit -> batch_view -> cross_verify
alerts_listlist persisted daemon/proactive alertsUse to review durable daemon/proactive alerts.Avoid for tiny one-file questions; these are orchestration and session-shaping tools.agent_idalerts; total; activeaudit -> batch_view -> cross_verify
alerts_ackacknowledge one or more persisted daemon/proactive alertsUse after reviewing alerts so they do not keep resurfacing.Avoid for tiny one-file questions; these are orchestration and session-shaping tools.agent_idacked; requested; acked_at_msaudit -> batch_view -> cross_verify
persistForce graph and sidecar state persistence to disk.Use when you want to force-save graph and sidecars now.Avoid for tiny one-file questions; these are orchestration and session-shaping tools.agent_idstatus; snapshot_path; plasticity_pathaudit -> batch_view -> cross_verify
boot_memoryPersist small canonical hot-state values next to the graph.Use for tiny canonical doctrine/state values that should stay hot.Avoid for tiny one-file questions; these are orchestration and session-shaping tools.agent_idaction; key; value; entriesaudit -> batch_view -> cross_verify

Routing Rules

  1. Prefer the cheapest tool that preserves structural truth.
  2. Use search / glob / view for exact known targets; use seek / activate when the question is semantic or subsystem-shaped.
  3. Use impact, predict, validate_plan, and the surgical tools before risky edits.
  4. Use audit, cross_verify, coverage_session, batch_view, and daemon tools to manage long-running sessions.
  5. Use perspective and lock tools only when stateful navigation or multi-agent coordination is worth the overhead.