Hive Vault
v1.12.2On-demand Obsidian vault access for AI coding assistants — 17 tools, 5 resources, 4 prompts.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
vault_list Vault List
List vault projects, or files within a project. When called without arguments, lists all available projects. When called with a project, lists files in that project directory.
| Parameter | Type | Description |
|---|---|---|
path | string | Subdirectory within the project. Empty = project root. |
pattern | string | Glob pattern to filter files (e.g. 'adr-*', '*.md'). |
project | string | Project slug. Empty = list all projects. |
vault_query Vault Query
Read content from a vault project — use instead of direct filesystem access.
| Parameter | Type | Description |
|---|---|---|
project * | string | Project slug (directory under 10_projects/), or '_meta' for 00_meta/. |
include_metadata | boolean | Prepend a structured metadata line from YAML frontmatter. |
max_lines | integer | Maximum lines to return. 0 = unlimited. |
path | string | Relative path to a specific .md file within the project. Overrides section. |
section | string | Shortcut name (context, tasks, roadmap, lessons). Ignored if path is set. |
vault_search Vault Search
Search the vault: full-text, ranked, or recent changes. Default mode: flat full-text search across all vault files. Ranked mode (ranked=True): results scored by relevance. Recent mode (since_days>0): files changed in the last N days.
| Parameter | Type | Description |
|---|---|---|
max_lines | integer | Maximum output lines. Default 500. |
max_results | integer | Max files when ranked. Default 10. |
project | string | Filter to this project (recent mode only). |
query | string | Text to search for (case-insensitive). |
ranked | boolean | Score results by relevance. Default False. |
scope | string | Restrict search to a scope (e.g. 'work', 'projects'). Empty = all. |
since_days | integer | Show recent changes (0 = disabled). Default 0. |
status_filter | string | Only files whose frontmatter status matches. |
tag_filter | string | Only files that have this frontmatter tag. |
type_filter | string | Only files whose frontmatter type matches. |
use_regex | boolean | Treat query as regex. Default False. |
session_briefing Session Briefing
Call at the start of every new session to load project context. Assembles active tasks, recent lessons, git activity, and project health into a single response — replaces 3-4 manual tool calls.
| Parameter | Type | Description |
|---|---|---|
project * | string | Project slug (directory under 10_projects/). |
vault_write Vault Write
Write to the vault: append, replace a section, or create a new file. Modes: - append/replace: Update a project section. Requires section. - create: Create a new file with auto-generated frontmatter. Requires path and doc_type.
| Parameter | Type | Description |
|---|---|---|
content * | string | Markdown content to write (body only for create mode). |
project * | string | Project slug or '_meta' for cross-project content. |
doc_type | string | Document type for frontmatter. For create mode. |
operation | string | 'append', 'replace', or 'create'. Default 'append'. |
path | string | Relative path for new file. For create mode. |
section | string | Section shortcut (context, tasks, roadmap, lessons). For append/replace. |
vault_patch Vault Patch
Surgical find-and-replace in a vault file with auto git commit. Supports single or multi-replacement. For a single replacement, provide ``find`` and ``replace``. For multiple replacements, provide ``patches`` — a list of ``{"find": "...", "replace": "..."}`` dicts applied in sequence. Do not mix both modes. Each ``find`` value must appear exactly once in the file (after prior patches in the list have been applied). If any patch fails validation, no changes are written. Uses 3-pass cascading match: exact → body-only → whitespace-normalized.
| Parameter | Type | Description |
|---|---|---|
path * | string | Relative path to the file within the project. |
project * | string | Project slug or '_meta' for cross-project content. |
find | string | Exact text to find (single mode). Empty = not set. |
patches | array | List of {"find", "replace"} dicts (multi mode). |
replace | string | Replacement text (single mode). Empty = not set. |
vault_health Vault Health
Return vault health metrics, validation, and optional usage analytics. Without parameters, returns a health summary for all projects. When checks are specified, runs drift detection (frontmatter, stale, links). When include_usage is True, appends tool usage analytics.
| Parameter | Type | Description |
|---|---|---|
checks | array | Validation checks to run. Empty = health summary only. Options: frontmatter, stale, links. |
include_usage | boolean | Append vault tool usage analytics. Default False. |
max_issues | integer | Maximum validation issues to report. Default 50. |
project | string | Project slug to validate. Empty = all projects. |
usage_days | integer | Usage look-back window in days. Default 30. |
capture_lesson Capture Lesson
Capture lessons: inline (structured fields) or batch (raw text via worker). Inline mode (default): provide title, context, problem, solution. Batch mode: provide text to extract lessons automatically via worker.
| Parameter | Type | Description |
|---|---|---|
project * | string | Project slug (directory under 10_projects/). |
context | string | What you were doing (inline mode). |
max_lessons | integer | Maximum lessons to extract in batch mode. Default 5. |
min_confidence | number | Minimum confidence for batch extraction. Default 0.7. |
problem | string | What went wrong or what decision was needed (inline mode). |
solution | string | What fixed it or what was decided (inline mode). |
tags | array | Optional tags (e.g. ["python", "testing"]). |
text | string | Raw text to extract lessons from (batch mode). |
title | string | Short descriptive title (inline mode). |
delegate_task Delegate Task
Offload work to a cheaper model or summarize vault files. When project is provided, reads a vault file. Small files (≤50 lines) are returned directly. Large files are auto-delegated to a worker for summarization — falls back to raw content if workers are unavailable.
| Parameter | Type | Description |
|---|---|---|
context | string | Optional system context for the model. |
max_cost_per_request | number | Max USD. 0 = free models only. |
max_summary_lines | integer | Target summary length for summarization. |
max_tokens | integer | Maximum tokens in the response. |
model | string | 'auto', 'ollama', 'openrouter-free', 'openrouter' (paid), or model ID. |
path | string | Relative path to a .md file. Overrides section. |
project | string | Project slug for vault summarization mode. |
prompt | string | The task description or code to process. |
section | string | Shortcut name for summarization. Ignored if path is set. |
worker_status Worker Status
Show worker health: budget, connectivity, available models, and usage stats.
| Parameter | Type | Description |
|---|---|---|
include_models | boolean | Include available model list from all providers. Default True. |