Create Feed Post
li_create_postPublish ONE post (text + optional image) to the sending account's own LinkedIn feed NOW, through the worker browser, and wait for the result (result.postUrl on success). Dry-run unless confirmPost=true: the preview shows exactly what would be posted. The exact text is supplied by the caller — this system never generates content at send time. Publishing is public and nothing here can delete the post afterwards. Use li_schedule_post instead when a person chose a future time (it stays cancellable in li_scheduled_posts). Suited to a content routine whose posting cadence the user approved.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Exact post text to publish (max 3000 chars — LinkedIn limit) | |
| imageUrl | No | Public http(s) image URL to attach; downloaded server-side | |
| sessionId | No | Account id from li_list_accounts. Needed (or sessionLabel) when you have more than one account; never guessed. | |
| confirmPost | Yes | Must be true to publish; false returns a dry-run preview | |
| sessionLabel | No | Account by label, LinkedIn name, profile slug or member id (li_list_accounts). Needed (or sessionId) when you have more than one account; never guessed. |