update_draft
Edit an unsent email draft by updating its recipient, subject, or body. Omitted fields stay as they are.
Instructions
Edit the to, subject, or text of a draft that has not been sent yet — omitted fields keep their current value. Call this when a draft needs changes, e.g. a human declined to approve it and you are revising it. The reply target cannot be changed (create a new draft to reply to a different message), and a draft that is already sending or sent can no longer be edited.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Id of the draft to edit, from create_draft or list_drafts. | |
| to | No | Optional. New recipient address. Omit to keep the current one. | |
| text | No | Optional. New plain-text body. Omit to keep the current one. | |
| subject | No | Optional. New subject line. Omit to keep the current one. |