update_cors
Add or remove origins in the cors-dev middleware to control which domains can access local services through the reverse proxy.
Instructions
Add or remove origins from the cors-dev middleware
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": "update_cors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| add | No | Origins to add (e.g., http://myapp.localhost) | |
| remove | No | Origins to remove |