update_outreach_status
Mark outreach as sent or failed, transitioning from pre_send. Sent flips the prospect to contacted and reserves quota; failed refunds the in-flight quota reservation.
Instructions
Resolve the "pre_send" outreach log row from record_outreach_with_inquiry. Both terminal transitions stamp next_outreach_after = sentAt + noResponseRecycleDays, dropping the prospect from get_outbound_targets for that window: status="sent" also flips the prospect to "contacted", confirms quota consumption, and advances the follow-up sequence; status="failed" refunds the in-flight quota reservation. Only the "pre_send" → terminal transition is accepted.
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": {
"outreachLogId": "<outreachLogId>",
"status": "<status>"
},
"name": "update_outreach_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | "sent" = submit succeeded; "failed" = submit failed. | |
| errorMessage | No | Required when status="failed". | |
| outreachLogId | Yes | outreachLogs.id from record_outreach_with_inquiry. |