vault
Perform file and folder operations in Obsidian, including list, read, create, update, delete, and search, with advanced options for fragment retrieval and paginated results.
Instructions
File and folder operations - list, read, create, update, delete, search
Input Schema
Name | Required | Description | Default |
---|---|---|---|
action | Yes | The specific action to perform | |
content | No | Content to write or append | |
directory | No | Directory path for list operations | |
includeContent | No | Include file content in search results (slower but more thorough) | |
maxFragments | No | Maximum number of fragments to return (default: 5) | |
page | No | Page number for paginated results | |
pageSize | No | Number of results per page | |
path | No | Path to the file or directory | |
query | No | Search query | |
returnFullFile | No | Return full file instead of fragments (WARNING: large files can consume significant context) | |
strategy | No | Fragment retrieval strategy (default: auto) |
Input Schema (JSON Schema)
{
"properties": {
"action": {
"description": "The specific action to perform",
"enum": [
"list",
"read",
"create",
"update",
"delete",
"search",
"fragments"
],
"type": "string"
},
"content": {
"description": "Content to write or append",
"type": "string"
},
"directory": {
"description": "Directory path for list operations",
"type": "string"
},
"includeContent": {
"description": "Include file content in search results (slower but more thorough)",
"type": "boolean"
},
"maxFragments": {
"description": "Maximum number of fragments to return (default: 5)",
"type": "number"
},
"page": {
"description": "Page number for paginated results",
"type": "number"
},
"pageSize": {
"description": "Number of results per page",
"type": "number"
},
"path": {
"description": "Path to the file or directory",
"type": "string"
},
"query": {
"description": "Search query",
"type": "string"
},
"returnFullFile": {
"description": "Return full file instead of fragments (WARNING: large files can consume significant context)",
"type": "boolean"
},
"strategy": {
"description": "Fragment retrieval strategy (default: auto)",
"enum": [
"auto",
"adaptive",
"proximity",
"semantic"
],
"type": "string"
}
},
"required": [
"action"
],
"type": "object"
}