superset_dataset_list
Retrieve datasets from Superset to view accessible data sources with paginated results for analysis and management.
Instructions
Get a list of datasets from Superset
Makes a request to the /api/v1/dataset/ endpoint to retrieve all datasets the current user has access to view. Results are paginated.
Returns: A dictionary containing dataset information including id, table_name, and database
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "superset_dataset_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- main.py:1091-1105 (handler)The handler function for the 'superset_dataset_list' tool. It is registered via @mcp.tool(), requires authentication, handles API errors, and makes a GET request to Superset's /api/v1/dataset/ endpoint to list available datasets.
@mcp.tool() @requires_auth @handle_api_errors async def superset_dataset_list(ctx: Context) -> Dict[str, Any]: """ Get a list of datasets from Superset Makes a request to the /api/v1/dataset/ endpoint to retrieve all datasets the current user has access to view. Results are paginated. Returns: A dictionary containing dataset information including id, table_name, and database """ return await make_api_request(ctx, "get", "/api/v1/dataset/")