Search Files in Sandbox
sandbox_search_filesSearch a target sandbox directory for files matching a glob pattern; returns a flat list of file paths.
Instructions
Find files under a directory by glob pattern (e.g. "*.py"). Returns a flat list.
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": {
"sandbox_id": "<sandbox_id>",
"path": "<path>"
},
"name": "sandbox_search_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Base directory to search from | |
| pattern | No | Glob pattern, e.g. "*.log" | |
| sandbox_id | Yes | ID of the target sandbox |