find_files
Discover filenames by literal name pattern inside allowed directories with bounded depth and result limits. Find where a file lives under configured read roots without scanning contents.
Instructions
Bounded name-only discovery inside configured Owner read roots.
Use to discover filenames by name under an allowed directory within bounded depth/result count. This is path discovery, not a content search or write authorization.
The search skips protected names, hidden and system entries, and linked entries, so a missing result does not prove a file is absent.
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": {
"path": "<path>",
"name": "<name>"
},
"name": "find_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Literal filename/name pattern to find (1 to 120 characters). | |
| path | Yes | Root directory under existing Owner read roots for bounded name discovery. | |
| depth | No | Maximum directory traversal depth, 0 to 12; default 8. | |
| max_results | No | Maximum matches returned, 1 to 100; default 50. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||