write_file
Store content into files within an isolated Linux sandbox. Specify path and content to create or overwrite files securely.
Instructions
Write content to a file in the sandbox.
Args: path: Absolute path in the sandbox (e.g., /workspace/script.py) content: File content to write. sandbox: Named sandbox to use (default "default")
Returns: Confirmation with file path and size.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| content | Yes | ||
| sandbox | No | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |