List folders
list_foldersList campaign, audience, or account folders; filter by parent ID to browse root or nested folder structures.
Instructions
List folders.
Required API key scope: campaigns:read | audiences:read | accounts:read.
GET /folders
Required scope depends on type: CAMPAIGN → campaigns:read, AUDIENCE → audiences:read,
ACCOUNT or omitted → accounts:read. Without type, folders of all types are returned. Returns
root folders unless parentId is given.
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": "list_folders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | ||
| parentId | No | Parent folder id; `root` or omitted for root folders. |