Rewrite a pending draft
edit_draftReplace the subject and body of one draft that has not been sent. Get the draftId from list_pending_drafts. Plain text is fine; line breaks are kept.
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": {
"draftId": "<draftId>",
"subject": "<subject>",
"body": "<body>"
},
"name": "edit_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | The new body. | |
| draftId | Yes | From list_pending_drafts. | |
| subject | Yes | The new subject line. |