docker-writeContainerFile
Writes or updates a file inside a Docker container by specifying the container ID, target path, and content.
Instructions
POST /docker.writeContainerFile
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": {
"containerId": "<containerId>",
"path": "<path>",
"content": "<content>"
},
"name": "docker-writeContainerFile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| content | Yes | ||
| serverId | No | ||
| containerId | Yes |