Publish a post
publish_postPublish a post to the user's LinkedIn or X account immediately. Call it once WITHOUT confirmation_token to get a preview and a token, show the user exactly what would be posted and to which account, then call it again with the token only if they agree. On X, separating blocks of text with a line containing only three dashes posts them as a chained thread.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | The exact post text. Under 3000 characters for LinkedIn. | |
| platform | Yes | Which platform to post to. | |
| account_id | No | The connected account to post to, from list_profiles. Only needed when more than one account is connected on that platform. | |
| confirmation_token | No | Leave this out on the first call. The tool then returns a preview and a token without posting anything. Pass the token back, with identical arguments, only after the user has confirmed. |