Share a file
share_fileShares a file with people by name or email (they're told), and sets who else may open it: only them, anyone signed in to Coline, or anyone with the 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": {
"workspace": "<workspace>",
"fileId": "<fileId>",
"recipients": "<recipients>",
"generalAccessMode": "<generalAccessMode>"
},
"name": "share_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | File or folder id from list_drive_files, search or fetch. | |
| workspace | Yes | Workspace slug from workspaces.list, e.g. "acme". | |
| recipients | Yes | ||
| publicPassword | No | ||
| generalAccessMode | Yes | ||
| createAuthenticatedLink | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes |