copy_from_container
Copies a file or folder from inside a container out to a host path within your home directory. Extracts container logs, artifacts, or configs onto the Mac host for review.
Instructions
Copy a file or folder out of a container onto the host.
``source`` is the path inside the container. The host ``dest`` path must be
within your home directory.
Example: copy_from_container("web", "/var/log/app.log", "~/logs/app.log")
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_id": "<container_id>",
"source": "<source>",
"dest": "<dest>"
},
"name": "copy_from_container"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dest | Yes | ||
| source | Yes | ||
| container_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |