tenki_write_file
Write UTF-8 text files to a Tenki sandbox at an absolute path under /home/tenki using a session ID. Use this to add or modify files in an isolated microVM environment.
Instructions
Write a UTF-8 text file to a sandbox (paths under /home/tenki).
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": {
"session_id": "<session_id>",
"path": "<path>",
"content": "<content>"
},
"name": "tenki_write_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path inside the sandbox, under /home/tenki. | |
| content | Yes | ||
| session_id | Yes | Sandbox session id (UUID), from tenki_create_sandbox or tenki_list_sandboxes. |