infomaniak_invite_drive_share_link
Invite recipients to a kDrive share link using drive and file IDs. Confirm with a token to complete the two-phase commit.
Instructions
Invite recipients to a kDrive share link through POST /2/drive/{drive_id}/files/{file_id}/link/invite. 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>",
"invitation": "<invitation>"
},
"name": "infomaniak_invite_drive_share_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | kDrive file or folder id. | |
| drive_id | Yes | kDrive id. Discover via infomaniak_list_drives. | |
| invitation | Yes | Invitation payload accepted by Infomaniak's POST /2/drive/{drive_id}/files/{file_id}/link/invite endpoint. | |
| confirmation_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||