publish_draft
Convert a saved draft into a published LinkedIn post with specified visibility settings for audience reach.
Instructions
Publish a draft as a LinkedIn post.
Args: draft_id: ID of the draft to publish visibility: Post visibility - PUBLIC, CONNECTIONS, or LOGGED_IN
Returns the published post details.
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": {
"draft_id": "<draft_id>"
},
"name": "publish_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft_id | Yes | ||
| visibility | No | PUBLIC |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||