publish_linkedin_post
Composes a LinkedIn post from a published DevSpeak article. Requires DevSpeak administrator privileges — a standard API key receives 403. Defaults to a preview; pass dryRun:false to publish, which is irreversible.
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": {
"contentType": "<contentType>",
"slug": "<slug>"
},
"name": "publish_linkedin_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The article slug, e.g. why-technical-specs-fail | |
| dryRun | No | Compose and return the post without publishing. Default true — always preview before publishing | |
| locale | No | Post language (default 'en') | |
| category | No | Tutorial category. Required when contentType is 'tutorial' | |
| guidance | No | Optional steer on the angle or emphasis | |
| postText | No | Replaces the generated copy. Only honoured when dryRun is false | |
| contentType | Yes | Which published content collection the article belongs to |