vphone_file_delete_preview
Preview which files or directories would be deleted and get a confirmation token valid for 5 minutes before committing the deletion.
Instructions
Preview file deletion.
Generates a preview of what would be deleted. Returns a token that must be used to confirm the deletion within 5 minutes.
Args: path: Absolute path to delete (file or directory).
Returns: FileDeletePreviewOutput with preview token and would_delete list.
Raises: PathSecurityError: If path validation fails. FileNotFoundError: If path does not exist. NotConnectedError: If not connected to bridge.
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": "vphone_file_delete_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to delete |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| expires_at | Yes | ||
| total_size | Yes | ||
| would_delete | Yes | ||
| preview_token | Yes |