Remove a file or directory
file_removePermanently deletes a specified file or directory inside an Alibaba Cloud sandbox; pass the target path and optional sandbox ID to remove it irreversibly.
Instructions
Delete a file or directory inside the sandbox. Irreversible.
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>"
},
"name": "file_remove"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to delete. | |
| sandbox_id | No | Sandbox ID, e.g. sbx-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx (returned by sandbox_create). |