content_setting_set
Configure per-site Chrome content settings for cookies, JavaScript, popups, and more. Specify a site pattern and choose allow, block, ask, or session_only to control browser behavior.
Instructions
Set a per-site Chrome content setting using the extension API.
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": {
"kind": "<kind>",
"primaryPattern": "<primaryPattern>",
"setting": "<setting>"
},
"name": "content_setting_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| setting | Yes | ||
| primaryPattern | Yes |