mcp_delete_option
Deletes a WordPress option for a specified site and key, returning 404 when the option does not exist.
Instructions
Delete an option (404 if it does not exist)
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": {
"site": "<site>",
"key": "<key>"
},
"name": "mcp_delete_option"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Option name (letters, digits, _ and -; the server lowercases it) | |
| site | Yes | Site id (see list_sites) |