explain_file
Explains what a file does, its project role, exports, dependencies, and dependents in plain English so you can understand code before editing.
Instructions
Provides a plain English explanation of what a specific file does, its role in the project, what it exports, what depends on it, and what it depends on.
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": "explain_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to the file to explain. | |
| root_path | No | Project root path. Defaults to nearest package.json ancestor. |