Background jobs
jobsRun long browser tasks in the background: start an audit, snapshot, or export, then get or wait for its progress and result without hitting request timeouts.
Instructions
Run a slow tool in the background and follow it: start, then wait or get.
For calls that can outlast a client's request timeout (Lighthouse audits, heap snapshots, screencast exports, long waits) or that you want to run while doing something else. Progress the tool reports is recorded on the job. Finished jobs are kept for an hour. Returns the affected jobs with their id, state, progress, and result once finished.
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": {
"action": "<action>"
},
"name": "jobs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | No | For 'start': the tool to run. Example: 'run_lighthouse' | |
| action | Yes | 'start' runs a tool in the background and returns its job id; 'get' reads a job; 'wait' blocks until it finishes or timeout; 'cancel' stops it; 'list' shows all. Example: 'start' | |
| job_id | No | For get/wait/cancel: the id 'start' returned. Example: 'job_3f2a9c01de' | |
| timeout | No | For 'wait': seconds to block, at most 120. Example: 30 | |
| arguments | No | For 'start': its arguments. Example: {"url": "https://example.com"} |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobs | Yes | ||
| summary | Yes | One line saying what happened. |