export_csv
Run a SELECT query against a SQLite database and return the resulting rows as a CSV string for data export and reporting.
Instructions
SQLiteからデータを取得し、CSV文字列として返します。
- db_path: .dbファイルのフルパス(許可ディレクトリ内のみ)
- sql: 実行するSELECTクエリ(最大10,000件)
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": {
"db_path": "<db_path>",
"sql": "<sql>"
},
"name": "export_csv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | ||
| db_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |