List drafts
list_draftsDraft metadata for an identity. Each draft has source: email_agent when the hosted email agent wrote it, else null.
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": {
"identity_id": "<identity_id>"
},
"name": "list_drafts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Page size, 1-100 (default 25). | |
| cursor | No | Opaque next_cursor from the previous page. | |
| source | No | email_agent lists only the drafts the hosted email agent wrote. | |
| identity_id | Yes | Identity id from list_identities. |