agy_cancel
Cancel a running or queued Antigravity job by job ID to terminate hung child process trees and free the serialized queue so subsequent jobs are not blocked.
Instructions
Cancel a currently running or queued Antigravity job by job_id (or "active"), terminating any hung or unneeded child process tree (taskkill /T /F) and freeing the serialized agy queue immediately. WHEN TO USE: Aborting an in-flight or queued agy job shown in agy_status so subsequent calls are not blocked. DO NOT USE FOR: Read-only status checks (use agy_status or agy_job_result). RETURNS: JSON cancellation report { ok, job_id, previous_state, state, pid, elapsed_s, message } plus telemetry footer.
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": {
"job_id": "<job_id>"
},
"name": "agy_cancel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | The job_id to cancel (e.g. "job-1730250000000-a1b2c3"), or "active" / "current" to cancel the currently running job. |