check_pwa
Check if a page is installable as a PWA: validate manifest, service worker, Chrome installability errors, and beforeinstallprompt; use session_id for live pages or url for one-shot checks.
Instructions
Inspect a page as an installable web app: fetch + validate the manifest (name, short_name, 192/512 icons, display, start_url within scope, theme/background colours), report the service worker registration (scope, state, controlling), Chrome's own installability errors via CDP when available, and — in url mode — whether beforeinstallprompt fired. Returns issues[] with type 'pwa'. Pass session_id to inspect the live page (after your interactions) or url for a one-shot check.
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": "check_pwa"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | URL to check (one-shot page; enables beforeinstallprompt observation) | |
| project | No | Project whose authenticated context to use in url mode | |
| session_id | No | Or an open session to inspect in place |