Write sandbox text file
sandbox_write_fileWrite or replace a UTF-8 text file up to 64 KiB in a specified sandbox after user approval; does not touch the MCP server filesystem.
Instructions
Write up to 64 KiB of UTF-8 text to a sandbox, replacing an existing file. Requires the user's approval. Relative paths start at /workspace. Does not write to the MCP server's filesystem.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| confirm | Yes | ||
| content | Yes | ||
| sandboxId | Yes | Exact sandbox ID from sandbox_create or sandbox_list |