Wait for a job
emu_jobWait for an emulator job to finish and return its result, or show status and latest report lines while it runs; omit the job ID to list this server's jobs.
Instructions
Wait for a job started by emu_start, emu_smoke, emu_check_notification or emu_release (job_id from their result) and return its result once it finished, or its status and latest report lines while it still runs (then call emu_job again). Without job_id it lists this server's jobs. JOB_UNKNOWN means the id is not known to this server (jobs do not survive a server restart): list the jobs or check emu_status.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "emu_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | No | The job_id to wait for; omit to list the jobs. | |
| wait_sec | No | How long to wait for the job to finish (default 50, max 600). |