propose_edit
Edit a large existing file by having a local model return SEARCH/REPLACE hunks instead of the full file, then apply and stage them through the normal diff and commit flow.
Instructions
Like propose_write, but the local model emits SEARCH/REPLACE hunks instead of the whole file — much more reliable on large files and small models. Server applies the hunks and stages the result as a normal op (same diff/commit flow).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File to edit (must exist — use propose_write for new files) | |
| seed | No | Fixed seed for reproducible output. | |
| stop | No | Stop sequences. | |
| model | No | ||
| think | No | Chain-of-thought control (ollama `think`; best-effort on openai-compatible servers). think:false keeps the whole max_tokens budget for the answer. | |
| top_p | No | Nucleus sampling threshold. | |
| num_ctx | No | ||
| options | No | Provider-native overrides merged into the request (ollama `options` keys like top_k/repeat_penalty; openai-compatible body fields). Wins over named params. | |
| provider | No | ||
| instruction | Yes | What the local model should change |