instance_id (str) – Unique identifier of the sandbox instance.
path (str) – Destination file path inside the sandbox.
content (str | bytes) – String or binary content to write into the file.
append (bool) – Append to the file instead of truncating it.