motorical_wait_for_outcome
Wait for a real email send to reach its actual delivery outcome instead of only the 202 acceptance; if still pending, retry with the same taskId after retryAfterMs.
Instructions
Wait for a real send's actual delivery outcome (not just the 202 acceptance). Bounded server-side wait with backoff, capped under typical client timeouts. If the result is still_pending, wait retryAfterMs and call this again with the same taskId. Requires OAuth scope: read:analytics (see motorical_whoami for what it allows).
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": {
"taskId": "<taskId>"
},
"name": "motorical_wait_for_outcome"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | Yes | From motorical_send_email's nextAction after a real (non-dryRun) send | |
| includePII | No | Return unmasked recipient addresses. Requires the logs.pii scope; default false (masked). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | ||
| status | Yes | ||
| retryAfterMs | No |