create_multi_photo
Create a LinkedIn multi-photo object from a list of digitalmediaAsset URNs. Returns an identifierUrn (urn:li:fsd_multiPhoto:…) to pass to create_post. author_urn is the urn:li:fsd_profile:… of the connected account (get it from get_me); for a company page post pass page_id instead. Use after uploading two or more images with upload_media_from_url; returns the single URN create_post takes. Not for one image.
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": {
"account_id": "<account_id>",
"media_urns": "<media_urns>"
},
"name": "create_multi_photo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | No | Company page (from list_managed_pages) the post will be published as; replaces author_urn. | |
| alt_texts | No | Optional alt text per image (same order as media_urns). | |
| account_id | Yes | Reach id of the LinkedIn account to act on, from list_accounts. | |
| author_urn | No | urn:li:fsd_profile:… of the connected account, from get_me. Omit when page_id is set. | |
| media_urns | Yes | List of urn:li:digitalmediaAsset:… URNs. | |
| idempotency_key | No | Optional. A key you choose (a UUID is fine) that names this exact call. If you retry with the same key and the same arguments, the first call's result is returned and nothing is done twice on LinkedIn. Reusing a key with different arguments is refused. Keys expire after 24 hours. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| identifier_urn | No | URN to pass as media_urn of create_post |