List Notes By Tag
dataview.listByTagList notes by a specific tag, applying optional WHERE, SORT, and LIMIT conditions. Outputs Dataview query results directly.
Instructions
Convenience wrapper that runs LIST FROM #tag (optionally with WHERE, SORT, and LIMIT clauses). Returns the same shape as dataview.query. Requires the Dataview and Local REST API plugins. Use this instead of authoring raw DQL when filtering by a single tag.
Operates on the session-active vault (see vault.current — selectable via vault.select) unless an explicit vaultPath argument is passed, which always wins.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | Yes | Tag to filter by. With or without leading `#`. | |
| limit | No | Optional `LIMIT` n clause. | |
| sortBy | No | Optional DQL `SORT` clause body (without the `SORT` keyword). Example: `file.ctime desc`. | |
| whereClause | No | Optional DQL `WHERE` clause body (without the `WHERE` keyword). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||