delete_form
Permanently delete unused form templates in NEW state from RSpace. This operation cannot be undone and requires the form ID.
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-579 (handler)MCP tool handler function for 'delete_form'. Decorated with @mcp.tool for automatic registration. Implements the core logic by delegating to the RSpace ELN client library'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)