execute_query
Runs a read-only SQL SELECT query against the SQLite database and returns the resulting rows, so you can inspect table data directly from Claude Desktop or Cursor.
Instructions
Executes a SQL SELECT query on the SQLite database and returns rows.
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>"
},
"name": "execute_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | SQL query to execute |