Read site options
get_optionsRead WordPress option values by name or search, including autoloaded options that bloat the database. Manage plugin and theme configuration directly.
Instructions
Read values from the WordPress options table by name — where plugins and themes keep their configuration. Autoloaded options are also where a bloated database often hides.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_options"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many options to return when browsing. | |
| names | No | Option names to read. Omit with `search` to browse. | |
| search | No | Find option names containing this substring. | |
| 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. |