infomaniak_create_drive_share_link
Create a share link for any kDrive file or folder. Confirms changes with a two-phase commit guard before the link is applied.
Instructions
Create a kDrive share link through POST /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_create_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 | |||