Vault Query
vault_queryRead vault project content by selecting a project slug, file path, or section shortcut; optionally cap lines and prepend metadata for AI context.
Instructions
Read content from a vault project — use instead of direct filesystem access.
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": {
"project": "<project>"
},
"name": "vault_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Relative path to a specific .md file within the project. Overrides section. (Use `path` for a file, not `identifier` — `identifier` is accepted as an alias.) | |
| project | Yes | Project slug (directory under 10_projects/), or '_meta' for 00_meta/. | |
| section | No | Shortcut name (context, tasks, roadmap, lessons). Ignored if path is set. | context |
| max_lines | No | Maximum lines to return. 0 = unlimited. | |
| identifier | No | Alias of `path` (#151). Prefer `path`; for a section shortcut use `section` instead. | |
| include_metadata | No | Prepend a structured metadata line from YAML frontmatter. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |