Audit Export Module Gains Full Tool API Integration, Enables AI‑Ready Reporting for Drupal
Will Jackson has announced a major update to the Audit Export module: full integration with the Tool API, enabled by a new submodule named audit_export_tool. This update unlocks programmatic access to both core and custom audits, opening Drupal sites to more robust reporting, automation, and AI-powered data workflows.
Once the submodule is enabled via drush en audit_export_toolEvery audit becomes discoverable as a typed Tool API plugin. That grants developers and external systems the ability to list available audits, retrieve definitions, run audits, fetch results (with support for pagination), queue audits, and export reports to CSV — all without scraping or manual UI exports. Custom audits are automatically exposed, simplifying integration and workflows for custom site configurations.
For sites where the Model Context Protocol (MCP) module is installed, the integration becomes even more powerful. MCP enables AI clients to discover and invoke Tool API tools directly, meaning audit data can be retrieved, analysed, and acted upon by AI agents. This transforms audit reports from static exports into dynamic inputs for automation and decision‑making workflows.
The update reflects a broader trend within the Drupal ecosystem toward typed APIs and AI‑ready infrastructure. By exposing audits through the Tool API, Audit Export aligns itself with emerging automation workflows. Even without MCP, the module now offers a clean, structured, and programmatic interface for audit operations, ideal for CI/CD pipelines, external reporting systems, or integration with monitoring tools.
To explore the new functionality or to download the updated Audit Export module, visit the project page on Drupal.org: drupal.org/project/audit_export.


