modify_file
Apply natural language edits to files. The AI interprets instructions, modifies code, and reduces token usage from over 1500 to about 100 tokens per change.
Instructions
Local LLM File Modification - Applies edits using natural language instructions. Local LLM understands code and applies changes. Token savings: 1500+ to ~100 tokens.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Path to the file to modify | |
| instructions | Yes | Natural language edit instructions (e.g., "Add rate limiting to the login function") | |
| options | No |