summaryrefslogtreecommitdiffhomepage
path: root/src/context/tools/batch-search-files.json
blob: feb8749b21bf874ec17168212c5cb288adb92996 (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
25
{
	"id": "batch_search_files",
	"label": "Batch Search File Names",
	"description": "Run multiple file-name searches in one call.",
	"friendlyName": "Batch Search Files",
	"requiresApproval": false,
	"batchOf": "search_files",
	"definition": {
		"type": "function",
		"function": {
			"name": "batch_search_files",
			"description": "Run multiple file-name searches in a single call. Each query searches vault file names/paths independently. Use this when you need to search for several different terms at once instead of calling search_files repeatedly.",
			"parameters": {
				"type": "object",
				"required": ["queries"],
				"properties": {
					"queries": {
						"type": "string",
						"description": "A JSON array of search query strings. Example: [\"meeting notes\", \"project plan\", \"2024\"]"
					}
				}
			}
		}
	}
}