edit_code
Edit an existing file using a natural-language instruction; delegates to OpenCode for lint and typecheck safety.
Instructions
Edit an existing file using OpenCode. Delegates all edits to OpenCode for lint/typecheck safety.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Relative file path to edit | |
| project | No | Project name | |
| instruction | Yes | Natural-language edit instruction |