Get a plugin
get_pluginRetrieve complete details for an installed WordPress plugin using its plugin file path, such as woocommerce/woocommerce, to inspect version, status, and more.
Instructions
Get full details about one installed plugin by its plugin file path, e.g. "woocommerce/woocommerce" or "hello-dolly/hello".
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": {
"plugin": "<plugin>"
},
"name": "get_plugin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plugin | Yes | Plugin identifier as returned by list_plugins, e.g. "akismet/akismet" (no .php extension). | |
| site_id | No | Which configured WordPress site to act on. Optional — with a single site configured it is used automatically; with several, the default site is used unless you name one. Run list_sites for valid ids. |