Read note frontmatter (full or single key)
obsidian_frontmatter_getExtract YAML frontmatter from an Obsidian note, returning the entire object or a single key's value.
Instructions
Return parsed YAML frontmatter for a note. With key, returns just that field's value. Without key, returns the whole frontmatter object. Read-only.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "obsidian_frontmatter_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Single key to read; omit for full frontmatter | |
| path | No | Vault-relative path | |
| title | No | Note title (filename without .md, accepts periodic aliases) |