archive_management
Manage Windows archives: list, extract, create, add files, or expand CAB files using expand.exe. Supports ZIP, TAR, and GZTAR formats for automation and forensics.
Instructions
Perform Windows archive management operations with agentic telemetry.
RATIONALE: Standardizes archive handling for automation and forensics. Provides specialized support for Windows-native CAB (.cab) files via expand.exe.
Args: action: The archive operation to perform. path: Path to the archive file. target_dir: Directory to extract to (for "extract" and "expand_cab"). source_files: List of files to compress (for "create" and "add_file"). archive_type: Format to use for creation. ctx: FastMCP Context for telemetry and sampling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| path | Yes | ||
| target_dir | No | ||
| source_files | No | ||
| archive_type | No | zip |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||