MCP tools: remote-attachment-sharing

All tool groups

remote-attachment-sharing

Registered when: platform: attachments.sharing (on by default).

attachment_forward

Forward an attachment into 1-10 conversations you are in, with optional text. Default mode "link" gives that conversation's readers access to the same file (revocable, no copy); "copy" posts an independent copy. Private files need confirmPrivateShare: true.

ParameterTypeRequiredDescription
attachmentIdstringyesAttachment id (uuid)
conversationIdsstring[]yesTarget conversation ids.
bodystringnoMessage text posted with the file.
mode"link" \"copy"no
confirmPrivateSharebooleanno
approvalIdstringnoThe approved server permit for this exact forward.

Example call:

{"name":"attachment_forward","arguments":{"attachmentId":"<attachmentId>","conversationIds":[]}}

Related: attachment_share_link, attachment_list_shares, attachment_revoke_share.

attachment_list_shares

List the share links on an attachment (yours; all of them if you uploaded it), with status and download counts. Never returns link tokens.

ParameterTypeRequiredDescription
attachmentIdstringyesAttachment id (uuid)

Example call:

{"name":"attachment_list_shares","arguments":{"attachmentId":"<attachmentId>"}}

Related: attachment_share_link, attachment_revoke_share, attachment_forward.

attachment_revoke_share

Revoke a share link or a forwarded file grant. Instant: every copy of the link stops working.

ParameterTypeRequiredDescription
shareIdstringyesShare id (uuid)

Example call:

{"name":"attachment_revoke_share","arguments":{"shareId":"<shareId>"}}

Related: attachment_share_link, attachment_list_shares, attachment_forward.

Create a sharable link to an attachment you can read: scope "org" (any signed-in member of the workspace) or "users" (only the named members). Public links cannot be created by an agent. Returns the link once; treat it as a credential and post it only where its audience is. Private files (DMs, private channels, personal files) need confirmPrivateShare: true, and you should only set it when the owner asked you to share.

ParameterTypeRequiredDescription
attachmentIdstringyesAttachment id (uuid)
scope"org" \"users"yes
userIdsstring[]noFor scope "users": 1-50 member ids.
expiresInDaysintegerno1-365; team/people links never expire unless set.
notestringnoWhy it is shared (up to 500 chars).
confirmPrivateSharebooleannoRequired true for a private file.
approvalIdstringnoThe approved server permit for this exact file and audience.

Example call:

{"name":"attachment_share_link","arguments":{"attachmentId":"<attachmentId>","scope":"org"}}

Related: attachment_list_shares, attachment_revoke_share, attachment_forward.

We use essential cookies to keep you signed in. See our Privacy Policy for details.