check_url
Verify a link before opening it to get an allow, ask, or deny verdict with risk score and plain-English reasons, so agents can decide whether to proceed.
Instructions
Check a link before opening it. Returns a verdict: decision (allow | ask | deny), risk_score 0-100, plain-English reasons, and checked_host, the host the link really opens. If the decision is ask, stop and show the reasons to the human. If deny, do not proceed. Results are advisory, not a guarantee.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The full URL the agent is about to open. | |
| intent | No | What the agent is trying to do, e.g. "book a hotel in Galway". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reasons | No | ||
| summary | Yes | ||
| advisory | No | scamgate is advisory. It can miss scams and flag legitimate actions; a human should make the final call on anything flagged. | |
| decision | Yes | ||
| warnings | No | Notes about the check itself, e.g. a stale feed cache | |
| risk_score | Yes | ||
| checked_host | No | For links: the host scamgate judged, the one a browser would open. If it isn't where you expected the link to go, treat that as a warning. Empty for payments and unreadable links. |