Drupal is a registered trademark of Dries Buytaert

The Tool - Workspace module provides workspace management tools that integrate the Tool module with the core Workspaces module. It enables content staging operations through the Tool module's plugin system.

The primary use case for this module is:

  • Create and manage workspaces programmatically
  • Switch between workspaces during automated workflows
  • Check workspace status and existence before performing operations
  • Integrate workspace operations into tool-based workflows

REQUIREMENTS

This module requires the following modules:

Optional modules for extended functionality:

  • WSE Preview (wse_preview) - For generating shareable workspace preview links (implementation in progress)

INSTALLATION

Install as you would normally install a contributed Drupal module. See: https://www.drupal.org/docs/extending-drupal/installing-modules for further information.

TOOLS PROVIDED

  • Check workspace exists (workspace_exists): Verifies if a workspace with the given ID exists.
  • Get active workspace (workspace_get_active): Returns information about the currently active workspace or indicates if viewing the Live site.
  • Create workspace (workspace_create): Creates a new workspace without switching to it.
  • Switch workspace (workspace_switch): Switches the current session to an existing workspace.
  • Create and switch to workspace (workspace_create_and_switch): Creates a new workspace and immediately switches to it with rollback on failure.

WORKSPACE COMPATIBILITY

This module marks certain operational entity types as ignored by workspaces, allowing them to be saved regardless of the active workspace context.

Currently ignored entity types:

  • ai_agent_decision - Enables compatibility with AI Agents Explorer module

Activity

Total releases
2
First release
Jan 2026
Latest release
1 month ago
Release cadence
0 days
Stability
0% stable

Releases

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