Get service file download URL
get_service_file_download_urlCreate a temporary, read-only download URL for a file on a VPSnet service server. Hand the URL only to the requesting user; it acts as a credential and expires 10 minutes after first use.
Instructions
Mint a one-file download URL (bound to the file version and size and to the caller's address /24 or /64; valid 10 minutes until first use, 6 hours after it, read-only). The URL itself is a credential: hand it only to the user who asked. Prefer download_service_file to save the file on this machine. Refused for an abuse-suspended service or while a service action runs. 30 per minute. 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 | |
| waitSeconds | No | How long this tool waits for a slow guest's operation before returning its operationId (default 30, recursive delete and extract 60) |