Ask About Codebase
ask_codebaseAnswer questions about any codebase using its actual source code. Point it at a local folder or GitHub URL — no cloning required — to get grounded explanations of structure, files, and flows.
Instructions
Ask any question about a codebase and get an answer grounded in the actual code. Accepts a local folder path OR a GitHub URL (e.g. https://github.com/user/repo) — no cloning needed.
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>",
"question": "<question>"
},
"name": "ask_codebase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| question | Yes | Your question about the codebase | |
| max_files | No | Max number of files to read for context (default: 12) | |
| repo_path | Yes | Local folder path OR a GitHub repo URL (https://github.com/user/repo) |