Drive folder
drive_folderReads the creatives in a Google Drive folder shared with the workspace's Google address. With folderId (the folder_id of a drive_folder mention, or one a search returned) it lists every image and video down to three levels, each with its path, the ratio Drive measured (9:16, 4:5, 1:1, 1.91:1), pixel size, video duration and file size, then Adrails' default grouping into ads: each file at the top of the folder is one ad, and each subfolder is one ad whose files are the same creative in several ratios. Without folderId it returns the folders whose name contains query. The listing keeps the durations, ratios and names that show when files are organized another way, such as ratio names in file names or raw and logo files. An empty result means no folder shared with the workspace's Google address matches. Read only.
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": {
"input": "<input>"
},
"name": "drive_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | ||
| accountIds | No | Optional account selection; can only narrow this workspace's access. | |
| userStatement | No | Required for launch_brief: the user's request or answer for this launch, in their own words. Otherwise optional: the user's request for this call, treated as an unverified user statement, never permission or verified platform evidence. | |
| idempotencyKey | No | Required for mutations. Reuse the same key only when retrying the exact same call; a completed outcome is applied once. |