edit_post
Modify existing LinkedIn posts by updating text content or replacing images using LinkedIn's Official API. Enables content refinement and corrections after publishing.
Instructions
Edit/update an existing LinkedIn post using the Official API.
Requires "Share on LinkedIn" product enabled in your LinkedIn Developer app.
Args: post_urn: The URN of the post to edit (e.g., "urn:li:share:123456") text: New text content for the post (optional, max 3000 characters) image_path: Path to new image file to replace existing media (optional) alt_text: Alt text for the new image (optional)
Returns: Success status with updated fields information.
Note: At least one of 'text' or 'image_path' must be provided. This uses LinkedIn's PARTIAL_UPDATE method to update only specified fields.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_urn | Yes | ||
| text | No | ||
| image_path | No | ||
| alt_text | No |