search
Search vault text, explore backlinks and outgoing links, view note outlines, and find orphan or dead-end notes to understand how your notes connect.
Instructions
Search the vault and explore note relationships.
Actions:
text: Search for text (query required; format optional: "json" or "text")
context: Search with surrounding line context (query required)
backlinks: List notes that link to a file (path required)
links: List outgoing links from a note (path required)
outline: Show heading tree of a note (path required)
orphans: List files with no incoming links (no params)
deadends: List files with no outgoing links (no params)
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": {
"action": "<action>"
},
"name": "search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | File path (for backlinks, links, outline) | |
| query | No | Search query (for text, context) | |
| action | Yes | Action to perform | |
| format | No | Output format (for text, default: text) |