Delete a comment
delete_commentPermanently remove a Substack comment by its numeric ID. Requires confirm: true because the action cannot be undone.
Instructions
Delete a comment by id. Permanent, with no undo, so it refuses to run without confirm: true.
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": {
"comment_id": "<comment_id>"
},
"name": "delete_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Set true only when the user asked for exactly this action. | |
| comment_id | Yes | Numeric comment id. | |
| publication | No | Which connected publication to act on, matched loosely against its hostname (for example 'example.substack.com' or just 'example'). Defaults to the first connected publication. |