List a Google Drive folder's creatives
list_drive_folderEvery video and image of a Google Drive folder, subfolders included, to launch as ads.
Inventory the videos and images of a Google Drive folder (link or id), subfolders included. A folder shared as "Anyone with the link" needs no connection; a private one is read through the Drive connected to Apogee when that account can open it. Each file has a ref to pass to prepare_launch; its format (9:16, 4:5, 1:1, 16:9) is detected from Drive. One listing stops at 2000 files or 200 folders (truncated: list a subfolder for the rest).
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": "list_drive_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Drive folder link or id | |
| recursive | No |