superset_explore_form_data_create
Store temporary chart configuration data for exploration in Apache Superset, including datasource, metrics, and visualization settings.
Instructions
Create form data for chart exploration
Makes a request to the /api/v1/explore/form_data POST endpoint to store chart configuration data temporarily.
Args: form_data: Chart configuration including datasource, metrics, and visualization settings
Returns: A dictionary with a key that can be used to retrieve the form data
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| form_data | Yes |
Implementation Reference
- main.py:1667-1688 (handler)The main handler function decorated with @mcp.tool() that executes the tool logic by calling the Superset API endpoint /api/v1/explore/form_data with the provided form_data.@mcp.tool() @requires_auth @handle_api_errors async def superset_explore_form_data_create( ctx: Context, form_data: Dict[str, Any] ) -> Dict[str, Any]: """ Create form data for chart exploration Makes a request to the /api/v1/explore/form_data POST endpoint to store chart configuration data temporarily. Args: form_data: Chart configuration including datasource, metrics, and visualization settings Returns: A dictionary with a key that can be used to retrieve the form data """ return await make_api_request( ctx, "post", "/api/v1/explore/form_data", data=form_data )