get_frontmatter
Extract YAML frontmatter from Obsidian notes to access metadata as structured key-value pairs for note management and organization.
Instructions
Parse and return the YAML frontmatter of a note as key-value pairs.
Args:
path: Relative path to the note.
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": {
"path": "<path>"
},
"name": "get_frontmatter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |