find_files
Discovers filenames by name within an allowed directory using bounded depth and result limits for local path discovery. It does not search file contents or grant write access.
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.
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 | |||