get_file_summary
Retrieve a summary of a code file, including line count, function/class definitions, import statements, and basic complexity metrics.
Instructions
Get a summary of a specific file, including:
- Line count
- Function/class definitions (for supported languages)
- Import statements
- Basic complexity metrics
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": "get_file_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes |