Update a collection
update_collectionRenames one of the user's collections or changes its description; at least one of the two is needed. The saved ads inside it are not affected.
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": {
"collection_id": "<collection_id>"
},
"name": "update_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New collection name, up to 200 characters. | |
| description | No | New description, up to 2,000 characters; null clears it. | |
| collection_id | Yes | Collection id from list_collections. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collection | No | The private saved-ad collection. |