Read a note's frontmatter — full map, or a single key's value.
The read-only counterpart to frontmatterSet (write side). Use this
before bulk-editing frontmatter so the agent can reason about current
state before issuing a write. When key is set, the response includes
the resolved value (which may be undefined if the key is absent).
Parameters
vault: Vault
The vault to read from.
args: {key?:string;path?:string;title?:string}
One of path or title is required. key narrows the
response to a single value.
Read a note's frontmatter — full map, or a single key's value.
The read-only counterpart to
frontmatterSet(write side). Use this before bulk-editing frontmatter so the agent can reason about current state before issuing a write. Whenkeyis set, the response includes the resolvedvalue(which may beundefinedif the key is absent).