get_form
Retrieve detailed form template information to examine structure and field specifications before creating documents or new forms in RSpace.
Instructions
Retrieves detailed information about a specific form template
Usage: Examine form structure before creating documents or new forms Returns: Complete form definition including field specifications
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| form_id | Yes |
Implementation Reference
- main.py:489-497 (handler)The main handler function for the MCP 'get_form' tool. It is decorated with @mcp.tool for registration and simply delegates to the RSpace ELN client to fetch form details by ID.@mcp.tool(tags={"rspace"}) def get_form(form_id: int | str) -> dict: """ Retrieves detailed information about a specific form template Usage: Examine form structure before creating documents or new forms Returns: Complete form definition including field specifications """ return eln_cli.get_form(form_id)