Extract service file archive
extract_service_file_archiveExtract zip, tar, tar.gz/tgz, or .gz archives on a VPSnet Firecracker server into a new destination path; skips links and special files for safe guest-side unpacking.
Instructions
Firecracker only: extract a zip, tar, tar.gz/tgz or single .gz archive with the guest agent's own reader into a destination that must not exist (default: next to the archive, without the archive extension). Only regular files and directories are written; links, devices and FIFOs are skipped, owners ignored, setuid/setgid/sticky masked; at most 100,000 entries and min(10 GiB, 90 % of free space). Always an operation this tool follows for waitSeconds (default 60). Needs agent capability services.guest-files-extract-v1 (agent_update_required otherwise; Cloud VPS: unsupported_service_type). Requires files:manage on a FULL-access API key as an explicit grant; the hosted connector needs vm:files:write. Execution-equivalent targets (authorized_keys, cron, systemd units, sudoers, PAM, profile files) are refused to every API key (filesExecEquivalentScopeMissing). Availability: Firecracker servers need the updated guest agent (filesUnavailable reason agent_update_required; node_update_required while the host node is not updated yet) and Cloud VPS (KVM) servers need the VDS file-manager switch (reason feature_disabled while it is off); relay any unavailable reason verbatim and never work around it. A server whose 2FA lock is on answers 423.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| archive | Yes | Absolute path inside the server (UTF-8, at most 4096 bytes, no . or .. components) | |
| orderNo | Yes | Tenant-owned service order number, e.g. VP12345 | |
| destination | No | Absolute path inside the server (UTF-8, at most 4096 bytes, no . or .. components) | |
| waitSeconds | No | How long this tool waits for a slow guest's operation before returning its operationId (default 30, recursive delete and extract 60) | |
| confirmSystemPath | No | Set true only after the user explicitly approved changing this operating-system path (otherwise 409 filesSystemPathConfirmRequired) |