index_codebase
Parse Python files to extract functions, classes, imports, and call relationships, constructing a semantic graph for code querying.
Instructions
Index a Python codebase. Parses all .py files, extracts functions, classes, imports, and call relationships. Builds a semantic graph for querying. Use force=True to re-index even unchanged files.
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": {
"path": "<path>"
},
"name": "index_codebase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| force | No |