batch_cancel
Cancel running batch jobs in Gemini AI to stop processing due to errors, changed requirements, or cost management. Sends cancel request to transition job to CANCELLED state and halt processing.
Instructions
CANCEL BATCH JOB - Request cancellation of running batch job. WORKFLOW: 1) Sends cancel request to Gemini API, 2) Job transitions to CANCELLED state, 3) Processing stops (may take a few seconds), 4) Partial results may be available. USE CASE: Stop long-running job due to errors, changed requirements, or cost management. NOTE: Cannot cancel SUCCEEDED or FAILED jobs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| batchName | Yes | Batch job name/ID to cancel |