Database query
db_queryRun a single read-only SELECT or WITH statement against the internal SQLite reports fixture and return JSON rows; reject all non-SELECT queries.
Instructions
Run a single read-only SELECT statement against the internal SQLite fixture database. Schema: table reports (id, title, topic, author, published_at, summary); topic values are English keywords such as security, protocols, reliability, observability, retrieval. Returns JSON rows. Only SELECT/WITH statements are accepted — everything else is rejected.
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": "db_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | A single SELECT statement, e.g. SELECT title, author FROM reports |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| status | No | ok |