search_file
Find files by case-insensitive filename substring in WebDAV document libraries; use path and depth limits to narrow the search and return relative paths.
Instructions
Find files by case-insensitive filename substring, not body text.
Prefer a specific relative directory over the root to save WebDAV requests. max_depth is relative to the starting directory (depth 0). Hard limits: depth 10, results 200, directories 500, entries 20000. Check truncated and limit_reasons before concluding no file exists. Matches are relative paths that can be passed to read_file if the file format is supported.
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": {
"keyword": "<keyword>"
},
"name": "search_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| keyword | Yes | ||
| max_depth | No | ||
| recursive | No | ||
| max_entries | No | ||
| max_results | No | ||
| max_directories | No |