check_url
Checks a URL for phishing, malware, typosquatting, and redirect threats. Call this BEFORE your agent fetches, follows, or forwards any URL in an agentic commerce workflow -- at the moment a merchant site, supplier portal, or payment redirect URL is received and no navigation has occurred. Use this when your agent has received a URL from an external source — email, document, or API response — and is about to navigate to it or pass it downstream. Checks live against Google Web Risk (webrisk.googleapis.com) and Google Safe Browsing (safebrowsing.googleapis.com). Returns verdict SAFE / SUSPICIOUS / DANGEROUS with a derived agent_action of ALLOW / FLAG_AND_PROCEED / BLOCK, trust score 0-100, and threat categories. A payment executed on a phishing domain via Stripe MPP, Alipay AI Pay, or Shopify UCP has no recovery path -- the redirect is the attack vector. A DANGEROUS verdict means halt immediately. Returns machine-ready verdict, no further analysis needed.
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": "check_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL to check. Full URL preferred (e.g. https://example.com/path). Bare domains also accepted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| verdict | Yes | ||
| hostname | Yes | ||
| reasoning | No | ||
| ssl_valid | No | ||
| checked_at | Yes | ||
| source_url | No | ||
| _disclaimer | Yes | ||
| hold_reason | No | Present only when verdict is SUSPICIOUS | |
| retry_after | No | ||
| trust_score | Yes | ||
| agent_action | Yes | Derived directly from verdict | |
| ai_confidence | No | ||
| analysis_type | No | ||
| domain_age_days | No | ||
| escalation_path | No | Present only when verdict is SUSPICIOUS | |
| database_signals | No | ||
| domain_registered | No | ||
| threat_categories | No | ||
| redirect_chain_detected | No |