Unhide a B2 file
b2_unhide_fileRestore a hidden file in B2 Cloud Storage by removing its hide marker. If the file is already visible, it reports restored false instead of failing.
Instructions
Removes the latest hide marker, making a hidden file visible again. If the file was not hidden, this reports restored false rather than failing.
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": {
"bucketName": "<bucketName>",
"fileName": "<fileName>"
},
"name": "b2_unhide_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileName | Yes | Name of the file to restore. | |
| bucketName | Yes | Bucket containing the file. |