Add Document
vault_add_docAdd a text document to a vault with metadata, full-text indexing, and version tracking. Use inline content or specify a file path.
Instructions
Add a text document to a vault with metadata (tags, category, priority, notes).
The document will be full-text indexed for search and stored with version tracking. Content can be provided inline (content parameter) or from a file path (path parameter). For binary files (PDF, DOCX, etc.), use vault_import_dir to import from a directory.
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": {
"vault": "<vault>",
"name": "<name>"
},
"name": "vault_add_doc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| path | No | ||
| tags | No | ||
| notes | No | ||
| vault | Yes | ||
| content | No | ||
| category | No | general | |
| filename | No | ||
| priority | No | normal |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |