container_archive_get
Retrieve a file or directory from a container as a tar archive, with a byte cap to avoid oversized in-band transfers.
Instructions
Retrieve a file or directory from a container as a tar archive, returned in band.
In-band bytes are capped (default 32 MiB) because MCP base64-encodes them;
container_archive_get_to_file streams to a host path instead.
Args: path: Path inside the container max_bytes: Abort with ToolInputError if the archive exceeds this many bytes (defaults to 32 MiB)
Returns: dict: Mapping with archive (bytes) and stat (dict) keys
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| max_bytes | No | ||
| id_or_name | Yes |