get_file_summary
Retrieve a compact summary of a file before reading its full content to understand its purpose, exports, imports, symbols, dependencies, and side effects.
Instructions
Get a compact machine-oriented summary of a file. Use this BEFORE reading full file content to understand file purpose and structure. Returns exports, imports, symbols, dependencies, and side effects. Much smaller than full file read.
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": "get_file_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path to get summary for | |
| project | No | Project name | default |