Check Digital Asset Links
check_asset_linksChecks Trusted Web Activity asset links by fetching assetlinks.json and comparing SHA-256 fingerprints with Play's app-signing certificate to diagnose browser URL bar issues.
Instructions
For a Trusted Web Activity: fetches https:///.well-known/assetlinks.json and compares its SHA-256 fingerprints for this package with the app-signing certificate Play reports (generatedApks). A mismatch is the classic reason a TWA shows the browser URL bar. Sends no credentials to the domain. If Play reports no signing certificate, pass fingerprint instead.
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": {
"domain": "<domain>"
},
"name": "check_asset_links"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Site hostname only, e.g. example.com (no scheme, port or path). | |
| fingerprint | No | App-signing SHA-256 fingerprint to compare against, instead of asking Play. | |
| package_name | No | Android package name. Defaults to PLAY_MCP_PACKAGE. | |
| version_code | No | Version code to read the signing certificate from. Default: the highest on any track. |