Edit note properties
edit_frontmatterSet or delete properties in a note's frontmatter (YAML properties) without quoting YAML. Adds a frontmatter block if the note has none. A value replaces the whole property; to add a tag, pass the full list. Tags lose a leading #. Dates are strings like 2026-11-03. Changing a property removes a # comment at the end of its line, so status: draft # check later becomes status: done; other lines stay as they were. Returns all properties after the edit. Returns once Obsidian Sync has the edit, or after about 35s with status upload_pending. A repeat edit within 10 to 30s of the note's last upload returns at once with status waiting_for_upload; it still uploads.
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": "edit_frontmatter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| set | No | property name to value (string, number, bool, null or list; avoid objects, which Obsidian shows as raw JSON and can't edit in the Properties view). Adds the property or replaces its whole value | |
| path | Yes | vault-relative path of an existing .md note, as returned by list_files or search_notes, or an obsidian:// URL for a file in this vault | |
| delete | No | property names to remove |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | vault path of the note | |
| sha256 | Yes | hex SHA-256 of the note after the edit | |
| status | Yes | uploaded, waiting_for_upload or upload_pending, as patch_note reports them | |
| changed | Yes | properties added, replaced with a different value, or deleted | |
| uploaded | Yes | whether Obsidian Sync has the edit; if false the edit is saved and still queued for upload, as status explains | |
| not_found | Yes | properties in delete that the note doesn't have | |
| properties | Yes | every property of the note after the edit |