Read a plugin's settings option
get_plugin_settingsRead a WordPress plugin's stored settings as JSON, with passwords and tokens redacted. Omit the option name to list the plugin's settings before choosing one.
Instructions
Read an option a plugin owns, unserialised into JSON, with obvious secrets (keys matching pass/secret/token/api_key/license) redacted to "••••" plus the last four characters. Omit option to list the options the plugin appears to own so you can pick one. This reads the raw stored option — the same data the plugin's settings screen edits.
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_settings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| option | No | The option name to read, e.g. "wpseo_titles". Omit to list the plugin's likely options. | |
| plugin | Yes | Plugin identifier (slug, dir/file, or name). | |
| reveal | No | Return secret values in the clear instead of redacting them. Use sparingly. | |
| 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. |