vault_move
Moves a file in an Obsidian vault to a new destination, creating parent folders as needed and optionally enforcing overwrite or version-match guards before changing files.
Instructions
Move a file; no link/history updates. Creates parents; trailing / retains filename. Overwrite requires allowOverwrite. ifMatch or ifMatchGuard (copy versionGuard) checks source only. No retry or cross-filesystem fallback.
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>",
"destination": "<destination>"
},
"name": "vault_move"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| ifMatch | No | ||
| destination | Yes | ||
| ifMatchGuard | No | ||
| allowOverwrite | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | ||
| newPath | Yes | ||
| oldPath | Yes |