def lindorm_describe_table()

in src/lindorm_mcp_server/server.py [0:0]


def lindorm_describe_table(table_name: str, ctx: Context = None) -> str:
    """
    Get tables schema in the Lindorm database
    :param table_name: the table name
    :return: the tables schema
    """
    lindorm_sql_client = ctx.request_context.lifespan_context.lindorm_sql_client
    return lindorm_sql_client.describe_table(table_name)