Download a direct provider asset file
asset_download_fileDownload 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.
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 | ||
| fileName | Yes | ||
| provider | Yes | ||
| acceptLicense | Yes | Required acknowledgement that the caller reviewed and accepts the license metadata returned by the provider's search/detail/file tools. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| sha256 | Yes | ||
| fileName | Yes | ||
| provider | Yes | ||
| sizeBytes | Yes | ||
| sourceUrl | Yes | ||
| alreadyExisted | Yes | ||
| licenseAcknowledged | Yes |