List Templates
templates.listList markdown templates from your Obsidian vault's templates folder or a specified folder to discover available templates before applying one.
Instructions
List markdown templates in the vault's templates folder (or a folder of your choosing via templateFolder). Use this to discover what templates are available before calling templates.use. Read-only. Only returns markdown (.md) files.
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 |
|---|---|---|---|
| templateFolder | No | Folder to scan for templates. Defaults to the vault's configured Templates folder. | |
| vaultPath | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | Yes | ||
| items | Yes |