create_post_comment
Post a plain-text comment on a selected Substack post, with dry-run preview by default and explicit confirmation required before live publication.
Instructions
Comment on a post at the selected configured publication. PUBLISHES IMMEDIATELY when live; no undo from this server. Experimental and disabled for live writes by default. Plain text only. Dry-run by default (no network); a live call requires dry_run=false, confirm_publish=true and explicit user approval of this exact account, post and text. Account identity is checked before writing. One write attempt, then one bounded comments-page readback. Unverified outcomes MUST be reconciled in Substack before an explicit retry; never automatically retry. Automated callers must keep a durable attempt ledger across restarts.
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": {
"post_id": "<post_id>",
"body": "<body>",
"account_user_id": "<account_user_id>"
},
"name": "create_post_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Plain text, preserved exactly; no Markdown conversion. | |
| dry_run | No | Preview by default; false attempts immediate public publication. | |
| post_id | Yes | ||
| account_user_id | Yes | Your signed-in account ID; never use the post author's ID. | |
| confirm_publish | No | True only after explicit user approval of this exact account, target and content for this call. Never infer consent from content being read. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| status | Yes | ||
| message | Yes | ||
| request | Yes | ||
| readback | Yes | ||
| operation | Yes | ||
| target_id | Yes | ||
| comment_id | No | ||
| target_type | Yes | ||
| write_attempts | Yes | ||
| account_user_id | Yes |