superset_saved_query_create
Create and save SQL queries for later reuse in Apache Superset by providing query data including database ID, schema, SQL text, and display name.
Instructions
Create a new saved query
Makes a request to the /api/v1/saved_query/ POST endpoint to save a SQL query for later reuse.
Args: query_data: Dictionary containing the query information including: - db_id: Database ID - schema: Schema name (optional) - sql: SQL query text - label: Display name for the saved query - description: Optional description of the query
Returns: A dictionary with the created saved query information including its ID
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query_data": "<query_data>"
},
"name": "superset_saved_query_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query_data | Yes |