List drafts
list_draftsList drafts in the accounts this server is scoped to, newest id first, with each draft's current Message-ID for update_draft. Narrow with match_subject / match_to / match_account (case-insensitive substrings). Call this immediately before update_draft: a draft's Message-ID changes when Mail re-syncs it. category (e.g. 'Work') lists only drafts in accounts with that label. Requires Keeploop Pro.
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 | ||
| category | No | ||
| match_to | No | ||
| match_account | No | ||
| match_subject | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| count | Yes | ||
| drafts | Yes | ||
| total_matched | Yes |