export_query_results
Execute SQL queries and export results in JSON or CSV format for data analysis and reporting.
Instructions
Export query results in various formats (JSON, CSV)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
format | No | Export format | json |
sql | Yes | SQL query to execute and export |
Input Schema (JSON Schema)
{
"properties": {
"format": {
"default": "json",
"description": "Export format",
"enum": [
"json",
"csv"
],
"type": "string"
},
"sql": {
"description": "SQL query to execute and export",
"type": "string"
}
},
"required": [
"sql"
],
"type": "object"
}