file_unpublish
Revoke public access to a shared file (visibility back to private).
The share token is retained for audit; the public route returns 404. Best-effort removes the mirrored objects from the Railway bucket.
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": {
"file_id": "<file_id>"
},
"name": "file_unpublish"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | File UUID to unpublish |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||