Copy files out of a container
copy_from_containerCopy a file or folder from a Docker container to a local path, overwriting existing local content. Confirm with the user before running.
Instructions
Copy a container's file or folder to a local path. Overwrites what's there locally: 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_from_container"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | A local path (absolute) | |
| from | Yes | The path in the container | |
| container | Yes | The container's name or id, as its list gives it |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| copied | Yes |