sql_export
Export SQL query results to OneLake as CSV or Parquet files. Specify a query and target path to persist data in Microsoft Fabric.
Instructions
Export query results to OneLake as CSV or Parquet.
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": "<query>",
"target_path": "<target_path>"
},
"name": "sql_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | ||
| query | Yes | ||
| lakehouse | No | ||
| overwrite | No | ||
| warehouse | No | ||
| workspace | No | ||
| file_format | No | csv | |
| target_path | Yes | ||
| export_lakehouse | No |