set_key_origins
Replace the hostnames a publishable key may be used from (and optionally the dev flag). Workspace owner only.
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": {
"key_id": "<key_id>",
"origins": "<origins>"
},
"name": "set_key_origins"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dev | No | Also allow localhost on any port. | |
| key_id | Yes | ||
| origins | Yes | The full new list of allowed hostnames; replaces the old one. |