social_publish
Publish the caller's own approved social drafts on the caller's own connected X account or LinkedIn company page through the official APIs: list the channels, list the drafts, approve one draft, or post every approved draft now. A draft is never posted without approval.
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": {
"action": "<action>"
},
"name": "social_publish"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | targets = the channels this account can post to; drafts = the social_drafts rows; approve = set one draft to approved (needs draft_id); run = publish every approved draft now, one per channel. | |
| format | No | Output wire format for this MCP call. Default 'toon' (Token-Oriented Notation, fewest tokens, best for tabular rows). 'compact' = minified JSON. 'json' = pretty JSON for readability. The REST API always returns JSON regardless. | |
| draft_id | No | approve only: the row id (dd_id) from drafts. |