What happened to a pending send
get_send_statusSays where one send stands, given pendingSendId + approvalCode from create_draft. Read-only: it never sends, schedules, asks the person or changes anything, so it is the safe way to check later (calling send_draft again can schedule the send). state is one of: sent (with sentAt), sending, declined (the person chose not to send it, or canceled a scheduled one), scheduled (with sendAt and approvalUrl), waiting (with expiresAt and approvalUrl; the person has not clicked yet), gone (unknown id, wrong code, or expired). Only approval-page and Send on my behalf outcomes are kept, so a send the person approved in an in-app prompt or on the draft card also reads as gone: check get_send_diagnostics before making a new 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": {
"pendingSendId": "<pendingSendId>",
"approvalCode": "<approvalCode>"
},
"name": "get_send_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| approvalCode | Yes | approvalCode returned by create_draft for this pending send | |
| pendingSendId | Yes | pendingSendId returned by create_draft |