Assign a collection to a site
assign-collection-to-siteAssigns one of your collections to one of your sites. WPCore plugin 2.1.0 or later on the site lists the collection's plugins on its WPCore screen, where the user installs them.
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": {
"site": "<site>",
"collection": "<collection>"
},
"name": "assign-collection-to-site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | The UUID of the site. | |
| collection | Yes | The UUID of the collection. |