Get Environment

Before you debug a problem, you often need the ground truth about the server it runs on.

debugging/get-environment returns Query Monitor’s environment snapshot: PHP, MySQL, WordPress and the server software — without SSH.

At a glance

Abilitydebugging/get-environment
ToolsetDiagnostics — toolset/diagnostics
GroupDiagnostics › Query Monitor
RequiresQuery Monitor, active on the site
Capabilitymanage_options
SafetyRead-only — changes nothing
RepeatableIdempotent — running it twice leaves the same result
Ships inAcrossAI Abilities Manager 0.0.43 and later

How it works

It takes no parameters.

It reads Query Monitor’s environment collector and returns the PHP version, loaded extensions and key ini limits; the MySQL server and client version with the relevant server variables; the WordPress version and active constants; and the server software.

It changes nothing.

Input

This ability takes no parameters.

What comes back

NameTypeWhat it is
environmentobjectThe PHP, database, WordPress and server sections of Query Monitor’s environment panel.
activebooleanWhether Query Monitor is active on the site.
successbooleanWhether the call completed.
messagestringA one-line summary of what happened, suitable for showing a human.
error_codestringPresent only on failure — a stable machine-readable reason.

Example

Ask your assistant:

What PHP version and extensions is this site running?

It resolves to one call:

{
  "ability": "debugging/get-environment",
  "parameters": {}
}

Worth knowing

  • Read-only.
  • Request-independent — it reports the server, not any one page.
  • Needs the Query Monitor plugin active; without it you get a clear “not active” message.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading