30 days free. No credit card. Full access from the moment you connect your site.

Start free trial

List Rank Math Modules

rank-math/list-modules lists every Rank Math module with its slug, label, whether it is active, whether it is unavailable on this install, and whether changing its state refreshes rewrite rules.

It is how you resolve a rank_math_module_inactive error from another ability.

At a glance

Abilityrank-math/list-modules
ToolsetRank Math — toolset/rank-math
GroupRank Math › Modules & Permissions
RequiresRank Math SEO, active on the site
Capabilitymanage_options
SafetyRead-only — changes nothing
RepeatableIdempotent — running it twice leaves the same result
Ships inAcrossAI Abilities Manager 0.0.34 and later

How it works

Rank Math is modular, and a large share of its abilities depend on a module being on. An ability that fails with a module error is not broken — it is asking for something the site has switched off.

The unavailable flag is the more interesting one. A module can be unavailable rather than merely inactive: PRO-only features on a free install, or modules with an unmet dependency such as WooCommerce not being present. Those cannot be switched on, and knowing that is different from knowing they are off.

The rewrite-rules flag marks the modules whose routes depend on rewrite rules being flushed — the sitemap and llms.txt among them. Those are the modules where switching the state has a side effect beyond the module itself, and where a state change is the standard repair for a 404.

Disabling a module does not delete its data.

Input

This ability takes no input.

What comes back

NameTypeWhat it is
modulesarrayOne entry per module: slug, label, active, unavailable, and whether it affects rewrite rules.
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, such as a missing field, a wrong field type or an unmet confirmation.

Example

Ask your assistant:

Which Rank Math modules are switched on?

It resolves to one call:

{
  "ability": "rank-math/list-modules",
  "parameters": {}
}

Worth knowing

  • Unavailable is not the same as inactive. Unavailable cannot be switched on.
  • The rewrite-rules flag marks modules whose routes break when rules are stale.
  • Disabling a module keeps its data.
  • The answer to a rank_math_module_inactive error.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading