infomaniak_update_drive_share_link
Update an existing kDrive share link for a file or folder using drive and file IDs. Two-phase commit with a guard ensures the change is safe and confirmed.
Instructions
Update a kDrive share link through PUT /2/drive/{drive_id}/files/{file_id}/link. Two-phase commit with current share-link guard.
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": {
"drive_id": "<drive_id>",
"file_id": "<file_id>",
"link": "<link>"
},
"name": "infomaniak_update_drive_share_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link | Yes | Share-link payload accepted by Infomaniak's /2/drive/{drive_id}/files/{file_id}/link endpoints. | |
| file_id | Yes | kDrive file or folder id. | |
| drive_id | Yes | kDrive id. Discover via infomaniak_list_drives. | |
| confirmation_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||