snap_list_media
List images and videos in an ad account, newest first, to find media IDs for creative creation; filter by type or name, with read-only access and ready-only results by default.
Instructions
List the images and videos in the ad account (read-only), newest first, to find a media_id for snap_create_creative, snap_create_story_creative or snap_create_collection_creative. By default only READY media; filter by type and name. Reads every page; a note says when the list is cut.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "snap_list_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | ||
| limit | No | ||
| ready_only | No | ||
| ad_account_id | No | ||
| name_contains | No |