download_media
Download all media attached to an X/Twitter post or save a single media URL to disk, returning file paths for opening or analysis.
Instructions
Download a post's media (or a single media URL) to disk.
Pass a tweet id/URL to get everything attached, or a direct pbs/video URL. Returns the saved paths so you can open or analyse them.
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": {
"source": "<source>"
},
"name": "download_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | ||
| dest_dir | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |