get_metadata
Retrieve frontmatter metadata as JSON from a note. Provide the note's path relative to the vault root to access structured metadata.
Instructions
Get the frontmatter metadata from a note as JSON.
Args: note_path: Path to the note relative to vault root
Returns: JSON string with metadata or error description
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": {
"note_path": "<note_path>"
},
"name": "get_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |