download_douyin_media
Download Douyin media from share links, remux video and audio streams with FFmpeg, and validate the output locally.
Instructions
Download, stream-copy mux, probe, decode-check, and hash authorized Douyin media.
If no independent audio stream is captured, a validated video-only file is returned with media_mode="video_only" and an explicit warning. Signed URLs are never exposed.
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>",
"output_dir": "<output_dir>"
},
"name": "download_douyin_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| quality | No | best | |
| filename | No | ||
| overwrite | No | ||
| output_dir | Yes | ||
| keep_separate_streams | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||