summaryrefslogtreecommitdiffhomepage
path: root/src/context/tools/search-files.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/context/tools/search-files.json')
-rw-r--r--src/context/tools/search-files.json24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/context/tools/search-files.json b/src/context/tools/search-files.json
new file mode 100644
index 0000000..04d698a
--- /dev/null
+++ b/src/context/tools/search-files.json
@@ -0,0 +1,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."
+ }
+ }
+ }
+ }
+ }
+}