query_sqlite
Execute read-only SQL SELECT queries against SQLite databases to retrieve structured data as JSON, enabling direct database querying without writing code.
Instructions
Execute a read-only SQL query (SELECT only) against a mounted SQLite database and return the results as JSON. Maximum 100 rows returned.
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": {
"path": "<path>",
"sql": "<sql>"
},
"name": "query_sqlite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the mounted SQLite database file | |
| sql | Yes | SQL SELECT query to execute |