Download service file
download_service_fileDownload a file from a VPSnet server to a local path, verify its size and SHA-256, and replace existing files only with overwrite approval.
Instructions
Download one file from the server to a local path on the machine running this MCP server: mints a download URL, fetches it without the API key (the URL is its own token) and writes the file atomically, verifying the size and answering the SHA-256. An existing local file is replaced only with overwrite=true after the user approved it. Requires files:read on the API key as an explicit grant (a key whose permission list was left empty does not hold it), read or full access; the hosted connector needs vm:files:read. 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 |
|---|---|---|---|
| path | 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 | |
| localPath | Yes | Absolute path on the machine running this MCP server | |
| overwrite | No | ||
| waitSeconds | No | How long this tool waits for a slow guest's operation before returning its operationId (default 30, recursive delete and extract 60) |