rossum_get_schema
Retrieve a specific schema by its ID from the Rossum platform for analysis and integration purposes.
Instructions
Get a specific schema by its ID.
Args: schema_id: The ID of the schema to retrieve
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema_id | Yes |
Implementation Reference
- mcp_server.py:132-139 (handler)The main handler function for the 'rossum_get_schema' tool. It is registered using the @mcp.tool() decorator and delegates to the _get_schema_impl helper. Includes input schema via type hint (schema_id: str) and docstring.@mcp.tool() async def rossum_get_schema(schema_id: str) -> Dict[str, Any]: """Get a specific schema by its ID. Args: schema_id: The ID of the schema to retrieve """ return await _get_schema_impl(schema_id=schema_id)
- mcp_server.py:103-105 (helper)Helper function that performs the actual API request to retrieve the schema from the Rossum API using the generic _rossum_request function.async def _get_schema_impl(schema_id: str): """Get a specific schema by ID""" return await _rossum_request("GET", f"/schemas/{schema_id}")