Assign a collection to several sites
assign-collection-to-sitesAssigns one of your collections to several of your sites at once. WPCore plugin 2.1.0 or later on each site lists the collection's plugins on its WPCore screen, where the user installs them. The result lists the sites in three groups: assigned, already assigned, and not assigned because the site has 100 collections.
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": {
"sites": "<sites>",
"collection": "<collection>"
},
"name": "assign-collection-to-sites"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sites | Yes | UUIDs of your sites. At most 100. | |
| collection | Yes | The UUID of the collection. |