Write sandbox text file
sandbox_write_fileWrite up to 64 KiB of UTF-8 text to a sandbox file, replacing existing content with approval; relative paths start at /workspace and no server filesystem is touched.
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. Uses the Lizard API; docs: https://lizard.build/docs/.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sandboxId": "<sandboxId>",
"path": "<path>",
"content": "<content>",
"confirm": "<confirm>"
},
"name": "sandbox_write_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| confirm | Yes | ||
| content | Yes | ||
| sandboxId | Yes | Exact sandbox ID from sandbox_create or sandbox_list |