write_file
Writes or overwrites a file at a path inside the home dir or a configured repo, with each call blocked on in-app approval. Use it to save content to the device.
Instructions
Writes a file on the device, scoped to the home dir or a repo from list_repos. Disabled unless the user turned on Settings → Agents → "MCP: Allow exec/write", and every call still blocks on an in-app approval tap.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path under the home dir or a configured repo | |
| content | Yes | File content to write (overwrites the existing file) |