Download a public post
download_public_mediaDownload a public Instagram, TikTok, or X post. Use this when the user pastes an instagram.com, tiktok.com, vm.tiktok.com, x.com, twitter.com, or t.co link and wants the video, photo, or audio. Returns OpenReels links the user opens to save the file. Do not use for private accounts, stories, highlights, or anything that needs a login.
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": {
"url": "<url>"
},
"name": "download_public_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public Instagram, TikTok, or X post URL. | |
| save | No | Which file to return. Defaults to every public file on the post. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | ||
| source | Yes | ||
| caption | Yes | ||
| username | Yes |