box_shared_link_file_remove_tool
Remove a shared link from a Box file by providing its file ID to revoke external access and restore restricted sharing.
Instructions
Remove a shared link from a file.
Args: ctx (Context): The context object containing the request and lifespan context. file_id (str): The ID of the file to remove the shared link from.
Returns: dict: The response from the Box API after removing the shared link.
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": "box_shared_link_file_remove_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes |