gmail_list_drafts
List draft emails in a connected Gmail account, filter by Gmail search query, and return metadata only or full subject and body details for review.
Instructions
List draft emails in the account.
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": "gmail_list_drafts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | DRAFT_VIEW_METADATA_ONLY (default) omits subject and body; DRAFT_VIEW_FULL includes them. | |
| query | No | Gmail search query to filter drafts. | |
| account | Yes | Which connected account (alias) to act as, e.g. "business". | |
| pageSize | No | Maximum results to return. Defaults to 20, maximum 50. | |
| pageToken | No | Token from a previous call, to fetch the next page. |