motorical_get_error_codes
Retrieve SMTP error codes for a Motor Block with counts, diagnoses, and recommended actions to troubleshoot email delivery failures.
Instructions
SMTP error codes seen for one Motor Block, with counts and a specific diagnosis for each. Each row has the code, its count, a label and hint saying what it means and what to do, cause (the platform bounce bucket, for example recipient_invalid or policy_block_auth), retryable (temporary failures are retried by the platform), suggestedAction (none, retry, remove or investigate) and lookup. The stored code is basic (550), enhanced (5.7.1) or a bucket (200 accepted with the exact reply not recorded, which includes delivery to a Motorical-hosted mailbox; 400 and 500 when the exact code was not recorded). Counts are the same rows motorical_get_logs returns: to see the messages behind a row, call motorical_get_logs with the row lookup (smtpCode) and read smtpResponse on one message. Requires OAuth scope: read:analytics (see motorical_whoami for what it allows).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "motorical_get_error_codes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ISO date or datetime, inclusive | |
| from | No | ISO date or datetime, inclusive | |
| limit | No | Max distinct error codes returned | |
| motorBlockId | No | Required when the authorization covers more than one Motor Block |