List drafts
list_draftsList an inbox's drafts, most recently created first.
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": {
"inbox_id": "<inbox_id>"
},
"name": "list_drafts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| state | No | draft (default): editable drafts. submitted: drafts already sent or attempted. all: both. | |
| cursor | No | Continue with next_cursor from the previous result, keeping the same filters. Stop when next_cursor is null. | |
| inbox_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| drafts | Yes | ||
| next_cursor | Yes |