cors_analyze_config
Analyze a project's CORS configuration to detect insecure cross-origin resource sharing settings. Supply the project directory and receive a clear assessment of potential risks.
Instructions
Analyze CORS configuration
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": {
"directory": "<directory>"
},
"name": "cors_analyze_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | ||
| directory | Yes | Project directory |