Drupal is a registered trademark of Dries Buytaert
Search API Solr 4.4.0 Minor update available for module search_api_solr (4.4.0). Page Manager 8.x-4.0 Major update available for module page_manager (8.x-4.0). Trash 3.1.0-beta2 New beta version released for module trash (3.1.0-beta2). Commerce AutoSKU 3.0.1 Minor update available for module commerce_autosku (3.0.1). Custom Field 4.0.10 Minor update available for module custom_field (4.0.10). Alternative login ID & display names 2.0.12 Minor update available for module alt_login (2.0.12). EntityReference UUID 3.0.1 Minor update available for module entity_reference_uuid (3.0.1). LocalGov Publications Importer 1.1.1 Minor update available for module localgov_publications_importer (1.1.1). Configuration Override Warn 8.x-1.6 Module config_override_warn updated after 10 months of inactivity (8.x-1.6). Table Alternate Rows Module table_altrow crossed 1,000 active installs.

AI Tool Screenshot allows AI agents to capture screenshots of rendered Drupal pages directly within the user's browser. This enables visual analysis through AI models, facilitating tasks like accessibility auditing and UI reviews without external services.

AI Tool Screenshot enables AI agents to capture and visually analyse rendered Drupal pages by taking a full-page browser screenshot on demand. It bridges the gap between what an AI agent can read in source code and what a human actually sees in the browser — making tasks like visual accessibility auditing, UI review, and screenshot-based reporting possible without any external headless browser service.

When an AI agent calls the get_page_screenshot tool, the user's own browser silently captures the page using the bundled html2canvas library and uploads the image as a managed Drupal file. The agent receives the file ID and can immediately pass it to a vision-capable model for analysis.

When would you use this module?

No configuration page is required. After enabling the module:

The module automatically attaches its polling JavaScript to every authenticated-user page load. When the agent initiates a capture request, the browser detects it within one second and silently takes the screenshot in the background. The captured image is saved to public://ai-screenshots/ as a permanent managed file, and the agent receives the file ID to use with downstream tools.

Tool parameters available to agents:

The html2canvas JavaScript library (v1.4.1, MIT license) is bundled inside the module at js/html2canvas.min.js — no separate download is needed.

Feature requests, bug reports, and patches are welcome via the issue queue on this project page.

See the README.md bundled with the module for installation, configuration, and usage details including tool parameter reference and known html2canvas limitations.

Activity

Total releases
2
First release
Mar 2026
Latest release
4 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Releases

Version Type Release date
1.0.0-alpha1 Pre-release Mar 11, 2026
1.0.x-dev Dev Mar 11, 2026