write_file
Write or overwrite a single file inside a pod's app root without a full redeploy. Use InstaServer to update code or configuration in a Docker container.
Instructions
Write (or overwrite) a single file inside a pod's app root without a full redeploy.
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": {
"name": "<name>",
"path": "<path>",
"content": "<content>"
},
"name": "write_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| path | Yes | ||
| content | Yes | ||
| encoding | No |