Set Post Distribution
set_post_distributionChange where a post goes when it is published: select or deselect each destination, set or clear each Announce destination's reviewed text, and select the newsletter with its subject and summary. Only what you pass changes; omitted fields stay as they are.
The GoodSender API enforces the dashboard's rules: a destination can be turned on only while it is connected and syndication is available, and an Announce text can be saved only while syndication is available and must fit its destination's limit (turning one off or clearing a text is always allowed). A request the API refuses changes nothing. Nothing is published or sent here — publish_post acts on this selection.
get_post_distribution reports the current selection. Changes lists exactly what this call changes; the selection decides what later goes out in the user's name.
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": {
"PostID": "<PostID>"
},
"name": "set_post_distribution"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| X | No | X (Announce). Omit to leave it unchanged. | |
| Devto | No | dev.to (Republish). Omit to leave it unchanged. | |
| PostID | Yes | Post id, from create_post or list_posts. | |
| Bluesky | No | Bluesky (Announce). Omit to leave it unchanged. | |
| No | LinkedIn (Announce). Omit to leave it unchanged. | ||
| Mastodon | No | Mastodon (Announce). Omit to leave it unchanged. | |
| Newsletter | No | The built-in newsletter. Omit to leave it unchanged. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Result | Yes | OK once applied, or why nothing was changed. On a local server with action guards on, the pending-confirmation notice while the change awaits approval. | |
| Changes | Yes | Exactly what the change does, one line per change, with warnings for what the API will refuse. | |
| Distribution | Yes | The distribution: the current one while awaiting confirmation, the updated one once applied. |