copy_to_container
Copy a file or folder from your host home directory into a container by providing the source path, container ID, and destination path.
Instructions
Copy a file or folder from the host into a container.
The host ``source`` path must be within your home directory. ``dest`` is the
path inside the container.
Example: copy_to_container("~/project/config.yaml", "web", "/etc/app/config.yaml")
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": {
"source": "<source>",
"container_id": "<container_id>",
"dest": "<dest>"
},
"name": "copy_to_container"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dest | Yes | ||
| source | Yes | ||
| container_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |