Copy files into a container
copy_to_containerCopy a local file or folder into a Docker container's path. It overwrites existing contents, so confirm with the user first.
Instructions
Copy a local file or folder into a container's path. Overwrites what's there: confirm with the person first.
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": {
"container": "<container>",
"from": "<from>",
"to": "<to>"
},
"name": "copy_to_container"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | The path in the container | |
| from | Yes | A local file or folder (absolute path) | |
| container | Yes | The container's name or id, as its list gives it |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| copied | Yes |