cwv_generate_pwa
Generate a W3C webmanifest, Service Worker caching bundle, and HTML header snippet for Progressive Web App compliance.
Instructions
Generate W3C webmanifest, Service Worker (sw.js) caching bundle, and HTML header snippet for Progressive Web App compliance.
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": {
"name": "<name>"
},
"name": "cwv_generate_pwa"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the web application. | |
| start_url | No | PWA launch URL. Default: '/'. | / |
| short_name | No | Short name for mobile home screen icon. | |
| theme_color | No | Hex theme color. Default: '#1a73e8'. | #1a73e8 |
| background_color | No | Hex splash background color. Default: '#ffffff'. | #ffffff |