export_csv
Run a read-only SQL query against an allow-listed SQLite database and return the result as CSV text for download or analysis.
Instructions
Run a read-only query and return the result as CSV text.
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": "<database>",
"sql": "<sql>"
},
"name": "export_csv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | ||
| limit | No | ||
| database | Yes | Database alias or path given at server startup |