wp_get_option
Retrieve a WordPress option value by its key, such as site title, timezone, or permalink structure. Use to read configuration settings for display, debugging, or conditional logic.
Instructions
Get a single WordPress option value by key. Common options: blogname, blogdescription, timezone_string, date_format, time_format, permalink_structure, posts_per_page, etc.
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": {
"key": "<key>"
},
"name": "wp_get_option"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Option key (e.g. "blogname", "timezone_string", "permalink_structure") |