rewrite_comment_draft
Rewrite Comment Draft
Rewrite a comment draft with an instruction. Does not post.
The rewrite runs in the background, so call list_comment_drafts afterwards to read the new text.
Args: handle: cdft_ handle from list_comment_drafts. instruction: what to change, for example "shorter", "ask a question at the end", "drop the praise". Omit for a general retry.
Responses:
200: Successful Response (Success Response) Content-Type: application/json
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": {
"handle": "<handle>"
},
"name": "rewrite_comment_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| handle | Yes | ||
| instruction | No |