MCP tool · Creatives
list_drive_folder
The videos and images of a Google Drive folder, subfolders included, each with its format.
What it does
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).
Parameters
-
urlstring requiredDrive folder link or id
-
recursiveboolean optional
Example
Your assistant calls it for you when you ask in your own words. What it sends (MCP tools/call, JSON-RPC 2.0):
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_drive_folder",
"arguments": {
"url": "https://www.dropbox.com/scl/fo/example0000/nordlicht-creatives"
}
}
} The same call over HTTP with an API key, for an MCP client of your own (an assistant that signs in sends its OAuth token instead):
curl -X POST https://app.apogee.ad/mcp \
-H "Authorization: Bearer $APOGEE_API_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_drive_folder","arguments":{"url":"https://www.dropbox.com/scl/fo/example0000/nordlicht-creatives"}}}' Access and cost
| Plans | Pro and Scale. |
|---|---|
| Scope | read: a connection or an API key without it does not see this tool (scopes). |
| Effect | Reads only: nothing is changed, in Apogee or on the ad account. |
| Credits | Free up to the daily free reads (5,000 a day on Pro, 10,000 on Scale), then 1 credit per read. A call that fails costs nothing (credits). |
| Rate limit | 600 MCP requests per 15 minutes on Pro, 1,200 on Scale (rate limits). |
| Daily cap | Counts 1 unit toward the 2,000 units one API key or assistant connection can use in 24 hours. |
In the REST API
The same thing for your own code, with an API key:
- List drive folder:
GET /drive-folders
Related tools
Creatives: Bring the files in before a launch. Nothing reaches Meta at this point.
import_link: Imports the creatives behind a Frame.io, Dropbox or Google Drive link (a file or a folder) through the account connected to Apogee. A public Frame.io share works without a Frame.io account when downloads are allowed; a password-protected share does not.import_status: The progress of an import. Each finished file gets areffor the launch.get_upload_urls: For files on your computer: one signed upload URL per file (50 per call, 500 MB per file, valid 1 hour). The assistant uploads each file with an HTTPPUT.confirm_uploads: Checks each uploaded file arrived and is not empty.