validate_vault_path
Checks if a relative Obsidian vault path is safe for read or write operations, rejecting traversals and excluded folders like 99_Private.
Instructions
Validate whether a relative vault path is safe for read or write. Rejects traversal and excluded folders such as 99_Private.
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>",
"operation": "<operation>"
},
"name": "validate_vault_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Relative path inside the Obsidian vault | |
| operation | Yes | Operation to validate |