Import a video link
import_video_from_urlImport a public video link without starting generation. Use before video_to_video for external links. Returns fileImportId immediately; poll get_video_url_import. A link with several videos imports the first one unless videoIndex (one-based) names another. A successful import returns fileId for video_to_video.videoFileId. Private, login-only and protected sources may be unavailable.
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": "import_video_from_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| videoIndex | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileImportId | Yes |