pre_edit_check
Prevent editing errors by checking past mistakes, loop risks, and scope violations before modifying a file.
Instructions
Run BEFORE editing important files. Checks: past mistakes, loop risk, scope violations.
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": "pre_edit_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | File about to edit |