batch_explain_entities
Explains multiple code entities in a single call by reusing the search index, boosting efficiency compared to individual explanations.
Instructions
Explain multiple code entities in a single call. Loads the search index once and looks up each entity name. More efficient than calling explain_entity repeatedly.
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>",
"entity_names": "<entity_names>"
},
"name": "batch_explain_entities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_path | Yes | Path to the indexed repository | |
| entity_names | Yes | List of entity names to explain (max 20) | |
| depth | No | Depth of explanation: 'shallow' (search index only, default) or 'full' (calls explain_entity for each) |