Actions19
Search → Search With Context
AI-generatedSummary
Searches the selected Obsidian vault for the required query and includes matching context using the search:context CLI command. Choose Text or JSON output format; the command uses the configured vault unless an optional vault override is supplied.
Inputs
- Query (required) — Search query passed as
query=<value>. - Format — Output format: Text (
text, default) or JSON (json). - Timeout Seconds — Command timeout in seconds; defaults to 60.
- Vault — Vault name or path override. If omitted, the credential's default vault is used.
Output shape
A single n8n item per input item, containing the parsed JSON stdout when available, otherwise { "ok": true } when stdout is not parsed.
The node adds
stderrwhen present andtimed_outwhen true. A nonzero CLI exit code or API request failure raises an error; with Continue On Fail enabled, the item contains{ "ok": false, "error": "..." }.