propose_write
Stage a local model rewrite or creation of one file from your instruction. Returns an operation id and diff for review; nothing is written until commit.
Instructions
Have the local model rewrite/create ONE file per your instruction, staged for review. Returns an op id + diff. Nothing is written until commit_write. Use for mechanical rewrites where the file content shouldn't flow through your own context.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File to rewrite (existing) or create (new) | |
| 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 do to the file |