list_drafts
List draft ids across draft-capable Gmail accounts (or a subset via accounts) — id, message id, thread id (no body; call get_draft or get_thread with the thread_id for content). Needs gmail.compose — accounts without it are reported in errors with a reconnect hint.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_drafts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max drafts per account (default 20). | |
| accounts | No | Account labels to list (see list_accounts). Omit for every draft-capable Gmail account. |