search_files
Search for files by name pattern (glob) in a specified directory, with an optional limit on the number of results.
Instructions
Search for files by name pattern
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>",
"pattern": "<pattern>"
},
"name": "search_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Search root path | |
| pattern | Yes | File name pattern (glob) | |
| maxResults | No | Maximum results (default: 50) |