verify_asset
Verify a web-declared asset by downloading it and checking its bytes against the page's SHA-256 and size. Ensures content integrity for AI feeds.
Instructions
Download a declared asset and verify its bytes against the page-declared size/sha-256.
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": {
"assetUrl": "<assetUrl>",
"pageUrl": "<pageUrl>"
},
"name": "verify_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageUrl | Yes | Page that declares the asset (https) | |
| profile | No | Content profile (default aimd) | |
| assetUrl | Yes | Asset URL (https) | |
| publicKeyValue | No | ed25519:… key to verify the page signature |