Query database
db_queryQuery a collection of the artifact's shared database (any role can read). where is [[field, op, value]] with op one of ==, !=, <, <=, >, >=, in, array-contains (a missing field matches no op); orderBy is [[field, "asc"|"desc"]]; limit is 1-500. Returns { docs: [{ id, data }] }.
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": {
"id": "<id>",
"path": "<path>"
},
"name": "db_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| path | Yes | ||
| limit | No | ||
| where | No | ||
| orderBy | No |