archive_module
Archive a specific module in a project by providing its project and module IDs.
Instructions
Archive a module.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | UUID of the project | |
| module_id | Yes | UUID of the module |
Implementation Reference
- plane_mcp/tools/modules.py:279-290 (handler)The handler function for the 'archive_module' tool. It retrieves the Plane client context and calls client.modules.archive() to archive the specified module.
@mcp.tool() def archive_module(project_id: str, module_id: str) -> None: """ Archive a module. Args: workspace_slug: The workspace slug identifier project_id: UUID of the project module_id: UUID of the module """ client, workspace_slug = get_plane_client_context() client.modules.archive(workspace_slug=workspace_slug, project_id=project_id, module_id=module_id) - plane_mcp/tools/modules.py:20-21 (registration)The registration function for all module tools, including archive_module. The @mcp.tool() decorator on line 279 registers it.
def register_module_tools(mcp: FastMCP) -> None: """Register all module-related tools with the MCP server.""" - plane_mcp/tools/__init__.py:38-38 (registration)The top-level registration call that triggers module tool registration.
register_module_tools(mcp) - plane_mcp/tools/__init__.py:11-11 (registration)Import of register_module_tools into the tools package init.
from plane_mcp.tools.modules import register_module_tools - plane_mcp/client.py:21-22 (helper)Helper utility that provides the PlaneClient and workspace_slug used by the archive_module handler.
def get_plane_client_context() -> PlaneClientContext: """