upload_video
Upload a local video file to the ad account and retrieve the video ID for ad creative creation.
Instructions
Upload a local video file to the ad account. Returns {"id": "<video_id>"} - the ad-account-scoped video id you pass to create_ad_creative.
file_path is an absolute path to a local .mp4 (or similar). For large files Meta also supports a chunked/resumable flow; this does a straight multipart upload, which is fine for typical ad videos.
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": {
"file_path": "<file_path>"
},
"name": "upload_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| file_path | Yes | ||
| account_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||