search_code_skeletons
Search indexed source code skeletons using natural language queries to find matching methods, classes, and other code units ranked by semantic similarity.
Instructions
[CODE TOOLS] Semantic search over indexed source code skeletons. Searches the code_skeleton_index populated by marrow_worker. Returns matching code units (methods, classes, namespaces, etc.) ranked by semantic similarity to the query, each with file path, line range, and skeleton text. Use root_path to scope to a module.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results to return | |
| query | Yes | Natural language search query, e.g. 'order processing method' or 'database context constructor' | |
| project | Yes | Project name (e.g. 'YourProject') | |
| root_path | No | Restrict search to files under this path prefix, e.g. 'src/worker' | |
| chunk_type | No | Optional filter by code unit type: 'namespace', 'class', 'method', 'constructor', 'property', 'file', etc. | |
| include_tests | No | Include test file chunks in results (default False) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |