generate_link
Create shareable links for documents with view, edit, or comment permissions. Generate access-controlled URLs for markdown files in the mdshare collaboration system.
Instructions
Generate a share link for a document with specific permissions. Requires admin access. If the document is in this MCP server's local store, 'key' is optional.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | Yes | Document ID | |
| key | No | Admin key. Optional if the document is in this MCP server's local store. | |
| permission | Yes | Permission level for the link | |
| label | No | Optional label for the link |