get_frontmatter
Extract YAML frontmatter metadata from markdown files to access document properties like title, date, and tags.
Instructions
Parse YAML frontmatter (between --- delimiters) at the start of a markdown file. Returns key-value metadata.
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": {
"file": "<file>"
},
"name": "get_frontmatter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Path to the markdown file |