create_image_post
Create LinkedIn posts with images using the official API. Upload local files, URLs, or base64 images with text content and visibility settings.
Instructions
Create a LinkedIn post with an image using the Official API.
Requires "Share on LinkedIn" product enabled in your LinkedIn Developer app.
Args: text: Post text content (max 3000 characters) image_path: Image source - can be: - Absolute path to local file (JPG, PNG, GIF) - URL to image (http:// or https://) - Base64-encoded image (data:image/png;base64,...) alt_text: Accessibility text describing the image (recommended) visibility: Post visibility - PUBLIC or CONNECTIONS
Returns the created post details including post URN and image URN.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| image_path | Yes | ||
| alt_text | No | ||
| visibility | No | PUBLIC |