share_form
Share custom forms with team members to enable collaborative use and group access within research workflows.
Instructions
Shares form with user's groups for collaborative use
Usage: Make custom forms available to team members Returns: Updated sharing status
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| form_id | Yes |
Implementation Reference
- main.py:547-556 (handler)The MCP tool handler for the 'share_form' tool. Decorated with @mcp.tool, it takes a form_id (int or str) and returns a dict by calling eln_cli.share_form(form_id). The docstring provides usage information which serves as input/output description.@mcp.tool(tags={"rspace"}) def share_form(form_id: int | str) -> dict: """ Shares form with user's groups for collaborative use Usage: Make custom forms available to team members Returns: Updated sharing status """ return eln_cli.share_form(form_id)