Analyze Note Tags
tags.analyzeAnalyze a single note to retrieve its tags, separated into frontmatter, inline, and a combined list. Use this tool when you have one note and need its tag structure.
Instructions
Return the tags present in a single note, split into frontmatterTags, inlineTags, and their de-duplicated union allTags. Use this when you have one note and want to know what tags it carries — contrast with tags.search, which scans the whole vault for one specific tag. Read-only.
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 |
|---|---|---|---|
| path | Yes | Vault-relative note path to analyze. | |
| vaultPath | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| frontmatterTags | Yes | ||
| inlineTags | Yes | ||
| allTags | Yes | Union of frontmatter and inline tags, de-duplicated. |