chronos_analyze_file
Parses source files to extract AST symbols, call edges, cross-language HTTP routes, test links, and complexity metrics, then inserts them into the 4D Knowledge Graph.
Instructions
Parse a source file (.ts, .tsx, .js, .py, .rs, .go, .c, .cpp, .java) with CHRONOS's polyglot AST engine and insert all symbols, call edges, cross-language HTTP routes, test edges, and loop/complexity metrics into the 4D Knowledge Graph.
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": {
"file_path": "<file_path>"
},
"name": "chronos_analyze_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute or workspace-relative path to the source file to analyze | |
| max_answer_chars | No | Optional maximum character budget for the response (default: 24000; <= 0 disables truncation) |