snap_upload_media
Upload a local image or video file of up to 1 GB to your Snapchat ad account as a standalone media asset. Preview first, then confirm with an approval token to apply, and poll until READY.
Instructions
Upload a local video (.mp4/.mov) or image (.jpg/.png), up to 1 GB (files over 32 MB go in chunks), to the ad account. It is not attached to any ad. Then poll snap_get_media until READY and use snap_create_creative. Previews (file check only) unless confirm=true. Two steps: confirm=false returns a preview and an approval_token; to apply, repeat the same arguments with confirm=true and that approval_token.
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": "snap_upload_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| confirm | No | false = preview only (nothing sent). true = apply; needs approval_token from the preview. | |
| file_path | Yes | Absolute path on this machine | |
| approval_token | No | The approval_token returned by the preview of this exact request. Required with confirm=true. |