create_note
Safely create a new markdown note with required YAML frontmatter and content. Refuses to modify any existing file.
Instructions
Create a new markdown note safely. Requires frontmatter with type/status/related and refuses to modify existing files.
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>",
"frontmatter": "<frontmatter>",
"content": "<content>"
},
"name": "create_note"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Relative .md path inside the vault | |
| content | Yes | Markdown body without YAML frontmatter | |
| dry_run | No | Return serialized hash without writing | |
| if_exists | No | Existing-file behavior; create_note refuses existing files | |
| frontmatter | Yes | YAML frontmatter object |