Download message attachment
Download one inbound attachment of a basic-messenger message, returned inline as a base64 data_url (nothing is persisted, no row changes). This verb is addressed by RAW LinkedIn ids, not by our message sid, so assemble it from a message row you already hold (search_linkedin_messages): linkedin_account_sid = that row’s linkedin_account_sid; message_id = that row’s message_hash (must be the 2-… form); attachment_urn = attachments[i].urn on the same row. profile_id is the ACTING account’s own LinkedIn URN: read ln_id off that linkedin_account_sid via search_linkedin_accounts, NOT the other party’s URN. 120 s budget, up to ~50 MB; spends the messaging_general bucket.
Contract:
- MCP tool
download_linkedin_message_attachment, registry packagemcp.linkedin/linkedin_messages, mountlinkedin.messaging. - Operation
action, response envelopeaction. - Flags: read only.
Authorizations
Access token issued by gtm.service.id. Its access_identity claim carries team_sid, actor_sid and actor_type, and that team scope is authoritative.
Team scope for tokens that do not carry one. Ignored when the token already names a team.
Body
Request body of download_linkedin_message_attachment.
Mailbox owner that received the message: the message row's linkedin_account_sid.
18^ln_ac_The acting account's OWN profile URN (ln_id of linkedin_account_sid from search_linkedin_accounts), not the sender's.
128Raw LinkedIn MessageId: the message row's message_hash (2-… form; the conversation id is decoded from it).
255Which attachment of that message: attachments[i].urn on the stored row (urn:li:digitalmediaAsset:…).
512