get_columns_info
Retrieve column names from uploaded CSV files to understand dataset structure for linear regression analysis.
Instructions
This function gives information about columns.
Returns: String which contains column names.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- server.py:69-81 (handler)The main handler function for the 'get_columns_info' tool. It is decorated with @mcp.tool() for registration in the FastMCP server and retrieves the column names from the shared DataContext, joining them into a comma-separated string.@mcp.tool() def get_columns_info() -> str: """ This function gives information about columns. Returns: String which contains column names. """ columns = context.get_data().columns return ", ".join(columns)