List drafts
list_draftsLists an account's drafts newest first so you can find a draft's ID to read, send, update, or delete it.
Instructions
The drafts of an account, newest first. get_message reads one by its id. It reads only. Use it to find a draft for send_draft, update_draft or delete_draft.
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_id": "<account_id>"
},
"name": "list_drafts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | At most this many in one answer | |
| cursor | No | next_cursor of the previous call, for more | |
| account_id | Yes | The account, by the id list_accounts names |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| drafts | Yes | ||
| next_cursor | Yes |