file_unshare
Revoke a public share link or file request using its token to disable access.
Instructions
Revoke a public link or a file request by its token (file_share and file_request_create answer it; share_list lists yours).
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": {
"token": "<token>"
},
"name": "file_unshare"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | the share token to revoke |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes |