container_archive_put
Upload a tar archive to a specified path inside a container using either in-band base64 data or a file path on the host.
Instructions
Upload a tar archive to a path inside a container, from in-band bytes or a file on the server host.
Pass exactly one of data (tar bytes in band) or from_file (a path on the server host, streamed
straight to the daemon — preferred for large archives, since in-band bytes are base64-encoded by
MCP). from_file is read by the server's user; ~ is expanded.
args: id_or_name - The container id or name path - Destination path inside the container (must already exist) data - Tar archive bytes; exactly one of data/from_file from_file - Path on the server host to the tar archive to upload; exactly one of data/from_file returns: bool - True if the upload succeeded
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| path | Yes | ||
| from_file | No | ||
| id_or_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |