cors_preflight_simulate
Simulate a browser CORS preflight check against Access-Control-Allow-Origin, Allow-Credentials, and Allow-Methods rules and flag RFC misconfigurations.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "cors_preflight_simulate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | No | POST | |
| allowOrigin | No | * | |
| allowMethods | No | GET, POST, OPTIONS | |
| requestOrigin | No | https://app.example.com | |
| allowCredentials | No |