query
Execute Logseq DSL queries to search pages and blocks using property, tag, task queries and logical combinations.
Instructions
Execute a Logseq DSL query to search pages and blocks. Supports property queries, tag queries, task queries, and logical combinations. See https://docs.logseq.com/#/page/queries for query syntax.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Logseq DSL query string (e.g., '(page-property status active)', '(and (task todo) (page [[Project]]))') | |
| limit | No | Maximum number of results to return | |
| result_type | No | Filter results by type | all |
| format | No | Output format (text or json). JSON returns raw result objects including block UUIDs and page info for deep linking. | text |