set_user_agent
Override the User-Agent string in a browsing context to mimic a different browser or device.
Instructions
Override the User-Agent string for a browsing context via BiDi emulation.setUserAgentOverride.
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": {
"userAgent": "<userAgent>"
},
"name": "set_user_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userAgent | Yes | ||
| contextId | No |