get_glossary
Retrieve a searchable glossary of code entities (classes, functions, methods) from an indexed repository. Filter by name, docstring, or file path, and paginate results to explore codebase structure.
Instructions
Get a searchable glossary of all code entities (classes, functions, methods) in an indexed repository. Useful for discovering what's in the codebase.
Requires: index_repository must be called first.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"repo_path": "<repo_path>"
},
"name": "get_glossary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_path | Yes | Path to the indexed repository | |
| search | No | Optional search term to filter entities by name or docstring | |
| file_path | No | Filter to entities from a specific file (relative path) | |
| limit | No | Maximum entities to return (default: 100, max: 5000) | |
| offset | No | Number of entities to skip for pagination (default: 0) |