query_sqlite
Execute SELECT queries on SQLite databases to retrieve data for analysis or reporting.
Instructions
Execute a SELECT query against a SQLite database file.
Only SELECT statements are permitted; any other statement type returns an error without touching the database.
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": "query_sqlite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| db_path | Yes | Path to the SQLite database file. | |
| sql | Yes | SQL SELECT statement to execute. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||