List collections
list_collectionsLists the user's saved-ad collections, the private folders that saved ads are sorted into, with each collection id, name, description and ad count, one page at a time with next_cursor. Read-only; list_saved_ads reads the ads inside one.
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_collections"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cursor | No | next_cursor from the previous page of this same list; absent or null for the first page. | |
| page_size | No | Collections per page, 1 to 50. | |
| response_format | No | Output format: text (default) or json. table is not available for this tool. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| done | No | Deprecated for one release: inverse of has_more. | |
| rows | No | Items in this page of your saved ads or collections. | |
| has_more | No | Whether another bounded page is available with next_cursor. | |
| pageSize | No | Deprecated for one release: alias of page_size. | |
| allowance | No | Free daily ad-return allowance for this workspace, resetting at midnight UTC. | |
| page_size | No | Effective number of rows requested per page. | |
| nextCursor | No | Deprecated for one release: alias of next_cursor. | |
| next_cursor | No | Continuation handle for the same filters; null when no further page is offered. | |
| reading_use | No | reading use value in this response. |