infomaniak_get_drive_share_link
Retrieve share-link settings for a kDrive file or folder. Read-only operation that returns null when no share link exists.
Instructions
Get the share-link settings for one kDrive file or folder. Read-only; returns null when no share link exists.
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>"
},
"name": "infomaniak_get_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. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link | Yes | ||
| file_id | Yes | ||
| drive_id | Yes |