query-superset
Execute natural language queries on Apache Superset databases to retrieve data, specify database, schema, or table if needed.
Instructions
执行 Superset 数据查询
Input Schema
Name | Required | Description | Default |
---|---|---|---|
databaseId | No | 可选的数据库ID,如果不提供将自动选择匹配的数据库 | |
query | Yes | 用户的自然语言查询,例如'查询最近10条日志' | |
schema | No | 可选的schema名称 | |
tableName | No | 可选的表名 |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"databaseId": {
"description": "可选的数据库ID,如果不提供将自动选择匹配的数据库",
"type": "number"
},
"query": {
"description": "用户的自然语言查询,例如'查询最近10条日志'",
"type": "string"
},
"schema": {
"description": "可选的schema名称",
"type": "string"
},
"tableName": {
"description": "可选的表名",
"type": "string"
}
},
"required": [
"query"
],
"type": "object"
}