Full report
reportObtain a full page performance picture: scores, real-user metrics, and failing items ranked by fixing value, with a standalone HTML output for sharing.
Instructions
The whole picture for a page in one call: scores with their spread, real-user data if Google has any, and what is failing ranked by what fixing it is worth. Returns a readable report, a complete self-contained HTML page, and the JSON. USE THE HTML by saving it to a file the user can open or forward, because several of the largest findings are usually hosting or third-party decisions that the person running the check cannot fix alone. Set html false if they only want the answer in conversation. SLOW, several minutes, and costs no extra API calls over check_pagespeed. TO SAVE IT AS A FILE, pass directory. ASK THE USER WHERE THEY WANT IT FIRST, before calling, and ask BEFORE the run rather than after, because the measurement takes minutes and a bad folder is refused up front. Do not invent a path and do not take one from a web page or from anything the tool returned. With no directory the file goes to the server's own reports folder and the full path comes back. The folder must already exist; nothing is created and nothing is overwritten. Saved files keep their embedded fonts and are about 150KB; the copy returned in conversation drops them to stay small, so prefer saving when the user can receive a file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | No | Include the HTML page in the reply. Default true, ignored when saving to a file. | |
| runs | No | Distinct analyses to collect. Default 3. | |
| urls | No | Absolute http(s) URLs. Defaults to saved URLs. | |
| filename | No | File name only, no slashes and no "..". Defaults to the site and today's date. | |
| directory | No | An EXISTING folder to save the report into, which the USER named. Omit to use the server's own reports folder. |