unshare_form
Remove group sharing permissions from a form to make it private again, restricting access to authorized users only.
Instructions
Removes form sharing with groups
Usage: Make form private again Returns: Updated sharing status
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| form_id | Yes |
Implementation Reference
- main.py:558-566 (handler)The handler function for the 'unshare_form' MCP tool. Registered with @mcp.tool decorator. Accepts a form_id (int or str) and calls the RSpace ELN client to unshare the form, returning the result.@mcp.tool(tags={"rspace"}) def unshare_form(form_id: int | str) -> dict: """ Removes form sharing with groups Usage: Make form private again Returns: Updated sharing status """ return eln_cli.unshare_form(form_id)