summaryrefslogtreecommitdiffhomepage
path: root/src/context/tools/search-files.json
blob: 04d698a4dd9acd2b1ff95a9af167b73f3a218fa3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
	"id": "search_files",
	"label": "Search File Names",
	"description": "Search for files in the vault by name or path.",
	"friendlyName": "Search Files",
	"requiresApproval": false,
	"definition": {
		"type": "function",
		"function": {
			"name": "search_files",
			"description": "Search for files in the Obsidian vault by name or path. Returns a list of exact file paths. Use these exact paths for any subsequent file operations.",
			"parameters": {
				"type": "object",
				"required": ["query"],
				"properties": {
					"query": {
						"type": "string",
						"description": "The search query to match against file names and paths."
					}
				}
			}
		}
	}
}