execute_query
Run a Datalog query against Logseq to fetch matching data. Supports optional parameters for dynamic filtering.
Instructions
Execute a Datalog query in Logseq
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 | The Datalog query to execute | |
| inputs | No | Optional query inputs/parameters |