export_csv
Execute a safe SQL SELECT query and export results to a CSV file, returning the file path.
Instructions
Execute a SQL query and export results as a CSV file. The query is validated for safety. Returns the file path of the generated CSV.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | SQL SELECT query to export |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |