Write Sandbox File
write_sandbox_fileWrites file contents inside a disposable sandbox, creating parent directories as needed. Use it to apply candidate fixes safely without altering the developer's project.
Instructions
Write a file inside the sandbox, creating parent directories as needed.
USE THIS to apply a candidate fix. Prefer it over shell heredocs: no quoting to get wrong.
SAFETY: writes land in the sandbox copy only. There is no tool here that writes to the developer's project -- if a change is worth keeping, show them the diff from inspect_changes and let them apply it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Workspace-relative path. | |
| content | Yes | Full new contents of the file. | |
| experiment_id | Yes | The experiment to write in. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |