unpublish_form
Hide forms from the document creation interface to temporarily disable them without deletion. Use this tool to manage form availability by specifying the form ID.
Instructions
Hides a form from document creation interface
Usage: Temporarily disable forms without deletion Returns: Updated form status
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| form_id | Yes |
Implementation Reference
- main.py:536-544 (handler)The handler function for the 'unpublish_form' tool. It is decorated with @mcp.tool which registers it as an MCP tool. The function takes a form_id and calls the RSpace ELN client's unpublish_form method to hide the form from the document creation interface.@mcp.tool(tags={"rspace"}) def unpublish_form(form_id: int | str) -> dict: """ Hides a form from document creation interface Usage: Temporarily disable forms without deletion Returns: Updated form status """ return eln_cli.unpublish_form(form_id)