linkedin.com
Download a LinkedIn message attachment
Input
threadUrl requiredConversation thread URL from list_inbox.
maxBytes optionalRefuse to base64-encode anything larger than this. Default 8000000 (8 MB); the URL is still returned.
messageUrn optionalMessage identifier to pull from (as returned by this script's own output, or by react_to_message). Omit to take the newest message carrying an attachment.
Output
url requiredthreadUrl requiredmessageUrn requiredkind optionalimage = rendered inline; file = a document card with a download link.
size optionalbase64 optionalBytes, base64-encoded. Null when the file exceeded maxBytes — url is still usable.
filename optionalmimeType optionalpickedLatest optionalskippedEncoding optional