Publish with DotShare
publish_postPublishes user-approved text, images, threads, or articles to chosen social accounts with per-account overrides. Returns receipts and uses stable retry IDs for uncertain results.
Instructions
Publish only when the user explicitly asks to publish this content to these accounts. Supports images, explicit/automatic threads and per-account overrides. Use a stable requestId and reuse it on any retry. Returns per-account receipts; needs_review/running must never be retried with a fresh ID automatically. A failed result sent nothing (or only the first thread parts) and can be retried with the same requestId.
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": {
"accountIds": "<accountIds>",
"requestId": "<requestId>"
},
"name": "publish_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| media | No | ||
| posts | No | Explicit thread parts. Supported by X, Bluesky and Mastodon. | |
| article | No | ||
| addFooter | No | Set false to leave out the accounts' saved footers (shown by list_accounts) for this post. | |
| autoSplit | No | Split long text into numbered threads on supported platforms. Preview shows exact parts. | |
| overrides | No | Optional content override per account ID. | |
| requestId | Yes | Stable unique ID for this user-authorized action. Reuse it on retries; never change it to bypass an uncertain result. | |
| accountIds | Yes | ||
| firstComment | No | LinkedIn only: posted as the first comment right after the post, e.g. the article link. Ignored on other platforms. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | ||
| success | Yes |