write_file
Create or overwrite UTF-8 text files inside the sandbox using a relative path; absolute paths and '..' are rejected to keep writes confined.
Instructions
Create or overwrite a UTF-8 text file inside the sandbox (e.g. write code). 'path' is relative to the sandbox root; absolute paths and '..' are rejected.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path relative to the sandbox root | |
| content | Yes | Full new contents of the file |