sandbox_file_exists
Check if a file or directory exists in a sandbox. Returns true if found, false if not, without throwing an error.
Instructions
Check if a file or directory exists in a sandbox. Returns true/false without throwing an error if not found.
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>",
"path": "<path>"
},
"name": "sandbox_file_exists"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sandboxId | Yes | The sandbox ID. | |
| path | Yes | Absolute path to check. |