execute_raw_sql
Run read-only SQL diagnostic queries on the Lemon SQLite database to inspect device data and troubleshoot issues.
Instructions
Executes a raw SQL diagnostic query on the Lemon SQLite database (Read-Only queries advised).
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_raw_sql"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Standard SQLite SQL string to execute on the database |