Generate Reddit reply
generate_reddit_replyWrites a new Reply Draft for one open Reddit thread of a site, the same as "Write a reply for me" on the Reddit Opportunities page, in the Agent Mode of the site and within the Brand Mention Safety of the thread. Each call makes one AI call and adds a new draft, which becomes the draft the thread shows. Nothing posts to Reddit: the user copies the draft from the Reddit Opportunities page and posts it. Returns the draft and the Brand Mention Safety of the thread (null when the thread left the open list). A thread that is not open gives opportunity_not_found and no AI call. When the AI reply breaks the brand rules of the thread, the result is reply_failed and no draft is saved.
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": {
"projectId": "<projectId>",
"opportunityId": "<opportunityId>"
},
"name": "generate_reddit_reply"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | Site to act on, from list_sites. | |
| opportunityId | Yes | Open thread to reply to, from list_reddit_threads view "open". |