Create a custom plugin
create-custom-pluginCreates a custom plugin from the address of its zip file. Needs a paid plan with room under its custom plugin limit, which list-custom-plugins returns. Upload zip files on the plugin's WPCore page. The add-plugins-to-collection tool adds the plugin to a collection.
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": {
"title": "<title>",
"slug": "<slug>",
"source": "<source>"
},
"name": "create-custom-plugin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The plugin folder name. Letters, numbers, dashes and underscores. | |
| title | Yes | The plugin name. | |
| author | No | The plugin author. | |
| source | Yes | The https:// address of the plugin's zip file. | |
| version | No | The plugin version. | |
| external_url | No | The address of the plugin's home page. |