scalix_computer_write_file
Write a text file into a persistent Linux machine. Use this instead of shelling out with cat/echo — no quoting to get wrong.
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": {
"id": "<id>",
"path": "<path>",
"content": "<content>"
},
"name": "scalix_computer_write_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Machine id | |
| mode | No | Unix mode in decimal, e.g. 493 for 0755. Omit unless the file must be executable. | |
| path | Yes | Absolute path inside the machine, e.g. /root/app/main.py | |
| content | Yes | File contents as text |