Update
updateModify or remove frontmatter properties in a single Markdown file while preserving unchanged keys, comments, quoting, list style, and body content.
Instructions
Update frontmatter properties in a single file.
Only the changed keys are rewritten; other keys, comments, quoting, list style, and the body stay as they are.
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": "update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| set | No | Properties to add or overwrite. Values are applied as-is (null becomes YAML null, empty string becomes empty value). | |
| path | Yes | File path relative to base directory. | |
| unset | No | Property names to remove completely. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| updated | Yes | ||
| frontmatter | Yes |