execute_sql
Execute SQL queries via SQL Lab, respecting Superset and database permission boundaries for safe data access.
Instructions
Execute SQL unchanged through SQL Lab; Superset/database permissions are the safety boundary.
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": {
"database_id": "<database_id>",
"sql": "<sql>"
},
"name": "execute_sql"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | ||
| schema | No | ||
| catalog | No | ||
| run_async | No | ||
| database_id | Yes | ||
| query_limit | No |