Download a direct provider asset file
asset_download_fileDownload allowlisted asset files from supported providers into guarded local storage after license acknowledgement, with streaming size limits and no overwrites.
Instructions
Download a file URL returned by Poly Haven, ambientCG, or Smithsonian MCP tools, or a curated Game-icons.net/Kenney direct ZIP, into guarded local storage after license acknowledgement. Provider hosts and URL shapes are allowlisted, redirects are revalidated, files are streamed with a byte cap, and existing files are never overwritten.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"provider": "<provider>",
"url": "<url>",
"fileName": "<fileName>",
"acceptLicense": "<acceptLicense>"
},
"name": "asset_download_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| license | No | ||
| fileName | Yes | ||
| provider | Yes | ||
| projectRoot | No | ||
| acceptLicense | Yes | Required acknowledgement that the caller reviewed and accepts the license metadata returned by the provider's search/detail/file tools. | |
| allowNonCommercial | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| sha256 | Yes | ||
| fileName | Yes | ||
| provider | Yes | ||
| sizeBytes | Yes | ||
| sourceUrl | Yes | ||
| sizeMeters | No | ||
| alreadyExisted | Yes | ||
| licenseAcknowledged | Yes |