Docs/MCP Tools/get_raw_download_url
MCP Toolget_raw_download_urlScope: library:download

Get Raw Download URL

Generate a targeted, signed download link for an individual sub-file within a multi-file asset archive.

Description

Get Raw Download URL enables granular extraction of individual sub-files from within a larger asset bundle without forcing the client to download and unpack a massive archive. For example, if a 3D asset package contains a 2GB bundle with Blender source files, 4K textures, and a lightweight .gltf web mesh, a web developer agent can use this tool to fetch only the 2MB .gltf file directly into public/models/. This saves bandwidth, disk space, and token processing time during automated coding agent tasks.

AI Agent Guidance & Best Practices

Use get_raw_download_url when an agent only needs a specific font weight (.woff2) or a single 3D format (.gltf) rather than downloading the entire archive.

Input Arguments

2 parameters
ParameterTypeRequiredDefaultDescription
assetIdstringRequiredUnique catalog asset identifier.
fileIdstringRequiredSpecific sub-file identifier or relative file path within the package.

Request Example

{
  "jsonrpc": "2.0",
  "id": "call_09",
  "method": "tools/call",
  "params": {
    "name": "get_raw_download_url",
    "arguments": {
      "assetId": "ast_neon_matrix",
      "fileId": "matrix_regular_otf"
    }
  }
}

Response Schema Example

application/json
{
  "assetId": "ast_neon_matrix",
  "fileId": "matrix_regular_otf",
  "downloadUrl": "https://storage.trykrafto.xyz/raw/ast_neon_matrix/Matrix-Regular.otf?token=...",
  "expiresAt": "2026-03-13T18:15:00Z"
}