delete_form
Permanently delete unused form templates from RSpace that are in NEW state. This action cannot be undone and removes forms that are no longer needed.
Instructions
Permanently deletes a form template
Usage: Remove unused forms (only works for forms in NEW state) Warning: This operation cannot be undone Returns: Deletion confirmation
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| form_id | Yes |
Implementation Reference
- main.py:569-578 (handler)The handler function for the MCP tool 'delete_form'. It is decorated with @mcp.tool for registration and executes the deletion by calling the RSpace ELN client's delete_form method.@mcp.tool(tags={"rspace"}) def delete_form(form_id: int | str) -> dict: """ Permanently deletes a form template Usage: Remove unused forms (only works for forms in NEW state) Warning: This operation cannot be undone Returns: Deletion confirmation """ return eln_cli.delete_form(form_id)