CORS check (preflight + allowed origins) ($0.002/call)
cors_check$0.002 per call (x402, USDC on Base; free trial: add "trial": true or use try_free). [Web and domain checks] CORS check. Will a browser on a given origin be allowed to call this URL: sends a CORS preflight (OPTIONS) and a GET with Origin, reports Access-Control-Allow-Origin / Credentials / Methods / Headers / Max-Age, Vary: Origin, and flags arbitrary-origin reflection, wildcard with credentials and null origin. Cached 5 min. ~0.3-2 s.
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": "cors_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | API or page URL to test, e.g. https://example.com/ | |
| trial | No | Optional. true = free if a trial call is left (3 per IP per UTC day), else the payment terms. | |
| method | No | Method for the preflight | GET |
| origin | No | Origin to test, e.g. https://app.example.com | https://example.com |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| tool | No | ||
| cache | No | ||
| _trial | No | Present when the call was a free trial call. | |
| issues | No | ||
| origin | No | ||
| allowed | No | ||
| provider | No | ||
| price_usd | No | ||
| allow_origin | No | ||
| allow_credentials | No | ||
| reflects_arbitrary_origin | No |