Collect a running measurement
get_job_resultRetrieve the result of an asynchronous PageSpeed Insights measurement by job ID, polling until it finishes; omit the ID to check the most recent job.
Instructions
Use to collect a measurement that analyse_page or compare_to_baseline handed back as a job id, calling it about every 15 seconds until it reports done. Anything longer than about a minute cannot be answered inside one tool call (clients enforce a hard wall-clock limit and progress notifications do not extend it), so those tools return a job id and keep working. When done it returns exactly what the tool would have returned. ALWAYS answers immediately. Omit job_id for the most recent job. Starting the same measurement again while one is running does not make it arrive any sooner, because the wait is Google re-analysing the URL about once a minute.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | No | The id returned when the measurement started. Omit for the most recent one. |