obsidian_rag
Retrieve the most relevant Obsidian notes for a question and return them as context to analyze user messages.
Instructions
Retrieve the most relevant Obsidian notes for question and return them
as context.
Use this to analyze a user's message against what is stored in the vault: search first, then reason over the returned context.
Args: question: the user's question / content to analyze. top_k: number of context chunks to retrieve (1-20).
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": {
"question": "<question>"
},
"name": "obsidian_rag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_k | No | ||
| question | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |