clear_user_agent
Restore the browser's real User-Agent by removing the override. Query navigator.userAgent to avoid sending an empty User-Agent string.
Instructions
Remove the override and restore the browser's real User-Agent.
CDP ``setUserAgentOverride`` has no explicit "clear" command - and
sending an empty string makes Chrome actually send ``User-Agent:``
(empty), which is *more* fingerprintable than the real UA. Instead
we query ``navigator.userAgent`` from a fresh evaluation (Chrome
returns the real UA there, not the override) and set that back.
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": "clear_user_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |