Index a repository
codetopo_indexIndex a source repository into a codetopo graph database, creating a deterministic, queryable code graph of symbols, calls, and references for agent queries.
Instructions
Index a repository into a codetopo graph database.
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>",
"db_path": "<db_path>"
},
"name": "codetopo_index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| db_path | Yes | Path of the database to create. | |
| package | No | Package name. Defaults to the repository directory name. | |
| repo_path | Yes | Path to the repository to index. |