regenerate Comment Draft
regenerateCommentDraftregenerate Comment Draft
Regenerate one pending draft using the existing comment writer and current workspace-observed post context. May invoke paid AI; never approves or sends. Supply the current revision; concurrent edits are preserved. Requires outreach:write.
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": {
"path": "<path>",
"body": "<body>"
},
"name": "regenerateCommentDraft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| headers | Yes | ||
| httpStatus | Yes |