vault_write
Create or overwrite Markdown notes in a knowledge vault, including YAML frontmatter, and receive warnings for structural issues.
Instructions
Create or overwrite a note in the vault.
Args: path: Note path relative to vault root (e.g. "skill/timeout-diagnosis") frontmatter: YAML metadata dict. Required fields: type, confidence. body: Markdown body content. Should start with "# Title".
Returns warnings if the note has structural issues.
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>",
"body": "<body>"
},
"name": "vault_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| path | Yes | ||
| frontmatter | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |