Find text in sandbox files
find_in_filesSearch sandbox files for lines matching a plain-text or regex pattern to locate needed content quickly.
Instructions
Find text in sandbox files. Every line under path that contains pattern. pattern is plain text; with regex=true it is an extended regular expression. Binary files are skipped and symlinks are not followed. Needs file.read.
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": {
"sandboxId": "<sandboxId>",
"pattern": "<pattern>"
},
"name": "find_in_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | /home/user | |
| regex | No | ||
| pattern | Yes | ||
| sandboxId | Yes | Public Sandbox id returned by create/list/get sandbox calls. |