List Notes By Folder
dataview.listByFolderList all notes in a vault folder using Dataview, with optional WHERE, SORT, and LIMIT conditions. Provide folder path to get its contents.
Instructions
Convenience wrapper that runs LIST FROM "folder" (optionally with WHERE, SORT, and LIMIT clauses). Useful when you want every note under a vault folder. Requires the Dataview and Local REST API plugins.
Operates on the session-active vault (see vault.current — selectable via vault.select) unless an explicit vaultPath argument is passed, which always wins.
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": {
"folder": "<folder>"
},
"name": "dataview.listByFolder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Optional `LIMIT` n clause. | |
| folder | Yes | Vault-relative folder to filter by. | |
| 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 | |||