Get service worker settings
pushengage_get_service_worker_settingsFetch the current Service Worker settings for your site: whether registration is enabled, subfolder support, and the service worker file path.
Instructions
Returns the current site's Service Worker Settings (from the Advanced Settings page), using the dashboard labels: enable_service_worker_registration ("Enable the service worker registration from PushEngage"), enable_service_worker_in_subfolder ("Enable addition of service worker in another sub-folder"), and service_worker_file_path ("Path for service worker file").
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": "pushengage_get_service_worker_settings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | No | Override the currently selected site. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| service_worker_file_path | No | ||
| enable_service_worker_in_subfolder | No | ||
| enable_service_worker_registration | No |