index_repository
Index a GitHub repository or local codebase path to enable AST symbol search, call tracing, and architecture summaries for AI coding agents.
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": {
"urlOrPath": "<urlOrPath>"
},
"name": "index_repository"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | No | Specific git branch to clone/index | |
| authToken | No | GitHub personal access token for private repositories | |
| urlOrPath | Yes | GitHub repository URL (https://github.com/...) or local filesystem path |