Add plugins to a collection
add-plugins-to-collectionAdds WordPress.org plugins and custom plugins to one of your collections. Adding a custom plugin makes the collection private. The result lists the plugins that were not added and why.
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": "<collection>"
},
"name": "add-plugins-to-collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plugins | No | Slugs of WordPress.org plugins, such as "woocommerce". At most 100. | |
| collection | Yes | The UUID of the collection. | |
| custom_plugins | No | UUIDs of your custom plugins. At most 100. |