Query Monitor is a developer tool you only want running while you are debugging.
debugging/toggle-query-monitor turns Query Monitor on or off from your assistant, without hunting through the plugins list. It is the one write in the Query Monitor set.
At a glance
| Ability | debugging/toggle-query-monitor |
| Toolset | Diagnostics — toolset/diagnostics |
| Group | Diagnostics › Query Monitor |
| Requires | Query Monitor installed on the site |
| Capability | manage_options |
| Safety | Settings write — activates or deactivates the plugin; never uninstalls it |
| Repeatable | Idempotent — setting the same state twice leaves it unchanged |
| Ships in | AcrossAI Abilities Manager 0.0.43 and later |
How it works
Pass enabled: true activates Query Monitor, false deactivates it.
It flips whether Query Monitor runs and renders. It never removes or uninstalls the plugin, so your settings survive.
Input
| Name | Type | Required | What it is |
|---|---|---|---|
enabled | boolean | Yes | true to enable Query Monitor, false to disable it. |
What comes back
| Name | Type | What it is |
|---|---|---|
enabled | boolean | Query Monitor’s state after the call. |
success | boolean | Whether the call completed. |
message | string | A one-line summary of what happened, suitable for showing a human. |
error_code | string | Present only on failure — a stable machine-readable reason, such as Query Monitor not being installed. |
Example
Ask your assistant:
Turn on Query Monitor so I can debug this page.
It resolves to one call:
{
"ability": "debugging/toggle-query-monitor",
"parameters": {
"enabled": true
}
}Worth knowing
- This is the only ability in the Query Monitor set that writes.
- It activates or deactivates the plugin; it never uninstalls it, so your Query Monitor settings are preserved.
- Needs the Query Monitor plugin installed; if it is missing you get a clear message rather than an error.
Related abilities
- Profile URL — what one page actually did
- Get Environment — the PHP, MySQL and WordPress snapshot
Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager
Browse the rest: Every ability, by category