fast_safe_edit
Detect risks and require confirmation for file text replacements. Adjust safety levels (strict, moderate, flexible) and use auto context addition to ensure accurate, safe edits.
Instructions
Safe smart editing: Detects risks and provides interactive confirmation
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path of the file to edit | |
| old_text | Yes | Text to be replaced | |
| new_text | Yes | The new text | |
| safety_level | No | Safety level (strict: very safe, moderate: balanced, flexible: lenient) | moderate |
| auto_add_context | No | Automatically add context | |
| require_confirmation | No | Require confirmation on high risk |