rms_code_search
Search a semantic code index to find matching code across indexed projects, returning language, file, symbol, kind, and line range. Pass project keys for read-only federated search.
Instructions
Search only the derived semantic code index. Results include language, file, symbol, kind, line range, and segment index. The code index is optional, so an unindexed project returns an empty result list. Pass projects: [key, …] for read-only cross-project code federation (when both project and projects are set, projects wins); does not change the active bind.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum results; default 10, maximum 100. | |
| query | Yes | The semantic code query. | |
| project | No | Registered project key, used when the MCP client did not provide a workspace root. Ignored when `projects` is also set. | |
| projects | No | Explicit list of registered project keys for read-only federated code search (max 8 after dedupe). Does not change the active bind. When set together with `project`, this list wins. | |
| include_content | No | Whether to include indexed code content; default true. | |
| include_file_history | No | When true, attach the last 3 commits from the derived code_path git-history cache to each code hit. Not allowed together with projects: […] federation. Default false. | |
| include_graph_neighbors | No | When true, attach durable graph neighbors for each hit path. Not allowed together with projects: […] federation. Default false. |