sync_draft_to_remote
Force-push a locally saved draft to the Proton Drafts IMAP folder and return the remote UID. Use when a draft's initial sync was skipped or automatic synchronization failed.
Instructions
Force-push a locally saved draft to the Proton Drafts IMAP folder and return the remote UID. Use when a draft was created with syncToRemote:false or when the automatic sync failed. Do NOT use this if PROTONMAIL_ALLOW_REMOTE_DRAFT_SYNC is false — the call will be rejected.
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>"
},
"name": "sync_draft_to_remote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draftId | Yes | Draft id returned by create_draft, list_drafts, or a create_*_draft call. |