sumo_qa_query_repo_map
Search a repository map for components, tests, CI checks, configs, or commands matching a natural language query, returning ranked results with file paths and metadata.
Instructions
Search the repo-map for the components, tests, CI checks, configs, or commands that match a query, returning a bounded, ranked list with enough metadata (id, path, type, tags, match reason) to open the files directly — never the full artifact.
Common natural-language phrasings that map to this tool: "find the repo-map node for X", "which tests are mapped to the billing module", "list the CI workflows in the map", "what commands does the repo-map know about", "search the map for files tagged mcp".
root is the repository. query matches case-insensitively across
node id, path, file name, type, category, and tags, and across command
names and kinds; results rank exact identity above substring hits.
limit caps the returned matches (total_matches still reports the
full count). types restricts the search to given node types and/or
the literal "command". The repo-map is read from artifact_path
when present and falls back to a live scan otherwise; an artifact for a
different project root is ignored.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | Yes | ||
| query | Yes | ||
| limit | No | ||
| types | No | ||
| artifact_path | No | .sumo-qa/repo-map.json |