cancel_sequence_audience_enrollment
Stop an audience enrollment run: cancel queued runs immediately and halt running runs after the current batch, leaving already enrolled contacts in the sequence.
Instructions
Stop an audience enrollment run. A queued run is cancelled immediately; a running run stops after the batch it is currently enrolling. Contacts already enrolled stay in the sequence (use cancel_sequence_enrollments to remove them).
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": {
"sequenceId": "<sequenceId>",
"runId": "<runId>"
},
"name": "cancel_sequence_audience_enrollment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runId | Yes | Audience enrollment run ID to cancel. | |
| companyId | No | Company ID. If not provided, uses the currently selected company. | |
| sequenceId | Yes | Sequence ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Additional context about the result. | |
| items | No | Fallback array wrapper used only when a tool returns a bare array. | |
| value | No | Fallback object wrapper used only when a tool returns a non-object value. | |
| message | No | Human-readable status, confirmation, or next-step message. | |
| success | No | Whether the Sequenzy operation succeeded. | |
| warnings | No | Non-fatal cautions about content, permissions, or follow-up actions. | |
| audienceEnrollment | No | The run after cancellation: status cancelled, or running with cancelRequestedAt while it stops. |