files_search_files
Search sandbox files by literal text or regex to locate matching lines and file paths with line numbers, supporting glob filters and result limits.
Instructions
Grep-like text search across sandbox files. Supports literal or regex queries. Returns matching file paths with line numbers.
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": {
"query": "<query>"
},
"name": "files_search_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | . | |
| query | Yes | ||
| regex | No | ||
| max_results | No | ||
| glob_pattern | No | **/* |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |