Download media to disk
flow_downloadResolve a Flow media ID to a signed CDN URL, write the bytes to disk, and verify the file is genuine image or video data. Reliable alternative when Flow's Download button fails.
Instructions
Resolve a Flow media id to its signed CDN url and write the bytes to disk, verifying the file is genuinely image or video data. Use this rather than Flow's Download button, which frequently writes nothing in an automated profile. Never charges.
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": {
"media_id": "<media_id>",
"out_file": "<out_file>"
},
"name": "flow_download"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| media_id | Yes | Media id from flow_list_media | |
| out_file | Yes | Output filename; relative paths resolve under FLOW_OUTPUT_DIR |