Read saved draft
get_draftRead a draft's saved recipients, bodies, reply target and attachments, including file bytes.
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": {
"draft_id": "<draft_id>"
},
"name": "get_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| from | Yes | Sender from the inbox's current settings, applied when the draft is sent. For a submitted draft, the linked sent message shows the sender used. | |
| state | Yes | ||
| content | Yes | ||
| subject | Yes | ||
| inbox_id | Yes | ||
| created_at | Yes | Absolute ISO 8601 service timestamp in UTC (Z), with millisecond precision. | |
| updated_at | Yes | Absolute ISO 8601 service timestamp in UTC (Z), with millisecond precision. | |
| sent_message_id | Yes |