obsidian_search
Find files by exact filename or path pattern using case-insensitive substring matching, with optional folder scope and result limits to locate known notes quickly.
Instructions
Search for files by path/name. Fast, exact matching.
WHEN TO USE:
Know exact file name: "DNS 解析.md", "202312 工单"
Find by path pattern: "1_projects/", "4_archives/2024"
Filename contains keywords: "CoreDNS", "排障记录"
WHEN NOT TO USE:
Search by concept/meaning → use obsidian_rag_search
Vague memory ("那个DNS问题") → use obsidian_rag_search
MATCHING:
Case-insensitive substring match on full path
"dns" matches "DNS解析.md", "1_projects/dns-debug/notes.md"
Returns up to 20 files by default. Use path parameter to narrow scope.
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": {
"query": "<query>"
},
"name": "obsidian_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Limit search to files under this folder path (optional) | |
| limit | No | Maximum number of results (default: 20) | |
| query | Yes | Search query (matches file path) |