agy_job_result
Fetch stored output or live status for an Antigravity job by job_id or "latest" to collect results from long-running delegated research, swarm, edit, or follow-up calls that hit their soft timeout.
Instructions
Fetch the stored output or live status of an Antigravity job by job_id (or "latest"). WHEN TO USE: Retrieving the result of a long-running agy_delegate_research, agy_spawn_swarm, agy_delegate_edit, or agy_session_followup call that returned "still running, job <id>..." after reaching the soft budget (default 540s). DO NOT USE FOR: Starting a new research or edit task. RETURNS: The full completed subagent response and session telemetry if finished (done / failed / cancelled / timed_out), or "still running, job <id>, started <time>, elapsed <s>s; fetch with agy_job_result <id>" if still in flight.
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_job_result"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | The job_id returned when a run exceeded the soft timeout (or listed in agy_status.agy_process_queue), or "latest" for the most recent job. | |
| wait_ms | No | Optional milliseconds to wait for completion if the job is still running (default 0 for instant check; max 540000). |