container_archive_put
Upload a tar archive to a path inside a container, extracting it there from in-band bytes or a host file. Prefer a server-host file for large archives to avoid base64 overhead.
Instructions
Upload a tar archive to a path inside a container, from in-band bytes or a file on the server host.
Inverse of container_archive_get: the archive is extracted at path inside the container.
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: 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 |