Docs/MCP Tools/download_bundle
MCP Tooldownload_bundleScope: library:download

Download Bundle (Individual & Bundled)

Download bundle assets as a unified archive package or as individual asset files directly via MCP.

Description

Generates authenticated, short-lived signed download URLs for all assets in a bundle. Supports 'bundled' (unified package), 'individual' (separate asset URLs), or 'both' modes.

AI Agent Guidance & Best Practices

Requires library:download permission. User must own the bundle or hold a subscription tier covering it.

Input Arguments

3 parameters
ParameterTypeRequiredDefaultDescription
bundleIdstringRequired—UUID of the owned bundle.
modestringOptional—Download mode: 'bundled', 'individual', or 'both' (default: 'both').
formatstringOptional—Format: 'zip' or 'raw' (default: 'zip').

Request Example

{
  "jsonrpc": "2.0",
  "id": "call_22",
  "method": "tools/call",
  "params": {
    "name": "download_bundle",
    "arguments": {
      "bundleId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "mode": "both"
    }
  }
}

Response Schema Example

application/json
{
  "bundleId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "bundleName": "Ultimate Creator Bundle",
  "mode": "both",
  "bundled": {
    "archiveName": "Ultimate_Creator_Bundle.zip",
    "downloadUrls": [
      {
        "assetId": "ast_01",
        "title": "Cyberpunk Font",
        "url": "https://storage.trykrafto.xyz/..."
      }
    ]
  },
  "individualAssets": [
    {
      "assetId": "ast_01",
      "title": "Cyberpunk Font",
      "downloadUrl": "https://storage.trykrafto.xyz/...",
      "expiresAt": "2026-09-25T15:00:00Z"
    }
  ]
}