propose_reply
Validate and prepare a reply to a Substack post or note, returning a preview and token for confirmation.
Instructions
STAGE A WRITE (no Substack call yet). Validate a reply, compute its dedup hash, build the exact payload, store it under a token, return the token + preview. Show the preview to the user. On approval, call confirm_reply with the same token. Tokens expire in 5 minutes. kind='post' requires post_id + parent_comment_id (for replies under a comment); kind='note' requires note_id. For new top-level post comments use comment_on_post.
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": {
"body": "<body>"
},
"name": "propose_reply"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | post | |
| post_id | No | ||
| note_id | No | ||
| parent_comment_id | No | ||
| body | Yes | ||
| pub | No |