Upload File
dual_upload_fileUpload files to DUAL storage for template assets, face images, and attachments, generating public URLs for Web3 applications.
Instructions
Upload a file to DUAL storage. Returns a public URL. Useful for template assets, face images, and attachments.
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": {
"file_url": "<file_url>"
},
"name": "dual_upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_url | Yes | URL of the file to upload (the server will fetch and upload it) | |
| folder | No | Optional folder path for organization |