Create Post
create_postPublish text posts with optional images to the signed-in user's LinkedIn feed; use confirm_post true to publish or false to dry-run and discard the draft.
Instructions
Publish a post, optionally with images, to the signed-in user's LinkedIn feed.
Opens LinkedIn's share dialog, inserts the text, attaches the images
and clicks Post. The
post uses the dialog's current visibility ("Post to Anyone" by
default), which is returned as visibility. With confirm_post False
this is a dry run: the text is inserted, then the draft is discarded
and nothing is published.
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": {
"text": "<text>",
"confirm_post": "<confirm_post>"
},
"name": "create_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Post text. LF/CRLF/CR end a line; empty lines are kept. Control characters other than line breaks are refused. May be empty when images are given. | |
| images | No | Absolute paths, on the machine running this server, of up to 20 JPEG/PNG/GIF images of at most 5 MB each. | |
| confirm_post | Yes | Must be True to publish. False is a dry run. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||