Get File
dual_get_fileRetrieve file URLs or content from the DUAL Web3 Operating System using storage IDs. Specify whether to return the URL directly or redirect to the file.
Instructions
Get a file's URL or content by its storage ID.
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_id": "<file_id>"
},
"name": "dual_get_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | Resource ID | |
| no_redirect | No | Return URL instead of redirecting |