grant_permissions
Grant browser permissions to specified origins or all origins, enabling controlled automation through the MCP server.
Instructions
Grant permissions to origin (or all origins if omitted).
Accepted names are listed by ``list_permission_names``. Any name
that resolves to a full CDP enum key is also accepted (e.g.
``VIDEO_CAPTURE`` or ``videoCapture``).
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": {
"permissions": "<permissions>"
},
"name": "grant_permissions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| origin | No | ||
| permissions | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |