list_drafts
List email drafts from a Gmail account, ordered oldest-first, and return draft IDs and metadata for sending or deleting drafts.
Instructions
List drafts in an account sorted oldest-first by internalDate. Returns draft_id (for send_draft/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. | |
| max_results | No | Maximum number of drafts to return (default 20, max 500). |