log_file_change
Log significant file changes after they happen, capturing path, change type, and rationale to preserve project context across sessions.
Instructions
Record a significant file change after the change is actually made. Include the path, what changed, and why. Do not log every temporary edit. Example: 'src/auth.py modified - Added refresh token validation before issuing new access token.'
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>",
"change_type": "<change_type>"
},
"name": "log_file_change"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the file | |
| change_type | Yes | Type of change | |
| description | No | Description of what changed | |
| lines_added | No | ||
| lines_removed | No | ||
| workspace_path | No | Workspace path to resolve session from |