list_drafts
Retrieve drafts from an account sorted oldest-first, returning draft IDs, message and thread IDs, subject, recipient, and internal date for review or cleanup.
Instructions
List drafts in an account sorted oldest-first by internalDate. Returns draft_id (for delete_drafts), message_id, thread_id, subject, to, and internalDate.
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": {
"account": "<account>"
},
"name": "list_drafts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | Yes | Account id ("personal", "tamu"). | |
| max_results | No | Maximum number of drafts to return (default 20, max 500). |