analyze_file
Analyze a single code file to extract symbols, imports, line counts, complexity score, and a full structural outline for review or navigation.
Instructions
Deep analysis of a single file: symbols (functions, classes, types), imports, line counts, complexity score, and full structural outline.
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": "analyze_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path relative to project root |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| lines | Yes | ||
| outline | Yes | ||
| language | Yes |