explain_file_role
Explains why a repository file exists, which module it belongs to, and whether it changed recently so AI coding agents can understand its purpose and context.
Instructions
Explain why a file exists, which module it belongs to, and whether it changed recently.
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": "explain_file_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Repository-relative file path. | |
| projectRoot | No | Optional project root. Defaults to PROJECT_ROOT or current working directory. |