Verify the widget is live on a website
verify_widget_installFetch the target page and check for both the Mira loader script and the customer's embed key. Confirm the widget is installed only when both elements appear.
Instructions
Fetch a page of the customer's website and verify that it serves both the Mira loader script and the customer's own embed key. Intended after the snippet is installed; installed is true only when both elements are present.
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": {
"url": "<url>"
},
"name": "verify_widget_install"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The page to check, e.g. https://example.com |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | No | What to fix when not installed | |
| error | No | ||
| foundKey | No | ||
| installed | Yes | true only when loader AND this account key are present | |
| checkedUrl | No | The URL actually fetched, after redirects | |
| foundLoader | No |