user_agent
Override the user agent of a browser tab using presets for Chrome, Firefox, Safari, or bots, or set a custom string.
Instructions
Set or reset browser user agent.
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": {
"tabId": "<tabId>"
},
"name": "user_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | Yes | Tab ID | |
| custom | No | Custom UA string (overrides preset) | |
| preset | No | UA preset |