Options Toolswordpress_delete_option

wordpress_delete_option

Delete a WordPress option.

wordpress_delete_option

Delete an option.

Parameters

2 parameters, 1 required.

NameTypeRequiredWhat it is
optionstringyesOption name
approval_tokenstringnoOne-time token from a prior respira_approval_required response. Omit on the first call; the tool will reject with a token if approval is required, then re-call with this parameter set to that token to confirm and execute.

Example call

The smallest valid call, with the required parameters only:

{
  "name": "wordpress_delete_option",
  "arguments": {
    "option": "value"
  }
}

Response

{
  "success": true,
  "deleted": true,
  "option": "some_option"
}

What it changes

It removes or overwrites something on the site, so treat it as the careful kind of call. On a page or post the edit lands on a copy first. The live page changes only when a person approves the copy in wp-admin. Calling it twice with the same arguments leaves the site in the same state as calling it once. On a connection set to read-only it is refused with respira_scope_denied.

How long it takes

A typical call takes about 1.8 seconds. 19 in 20 finish within 2.8 seconds. Measured on real sites over the last week, so it includes the site's own hosting.

Availability

Works on any WordPress site, whichever page builder it uses. Available since Respira 1.0.0.

Notes

  • Deleting options can break plugins/themes; use caution

Example Prompts

  • "Delete option 'some_option'"
  • "Remove the legacy setting option"