Diagnose a Page Performance Problem
pagespeed_diagnose_pageDiagnose a page with a single focused audit—visual, elements, network, JavaScript, images, render-blocking, or third-parties—to pinpoint the cause of a performance issue identified earlier.
Instructions
Inspect one page through exactly one diagnostic lens: visual, elements, network, javascript, images, render-blocking, or third-parties. Use after pagespeed_analyze_page identifies a problem; do not use it for a general score. Example: focus=render-blocking to identify CSS/JS delaying first render. Returns focused evidence rather than a full Lighthouse dump.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public http(s) URL, for example https://example.com/products. | |
| focus | Yes | The single diagnostic lens to return. | |
| strategy | No | Lighthouse device profile. mobile is the default. | mobile |
| responseFormat | No | markdown is concise and readable; json is machine-readable and is also available as structuredContent. | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | ||
| result | Yes | ||
| truncated | No | ||
| truncationMessage | No |