chrome_set_user_agent
Override the Chrome User-Agent string for a tab or platform to test device- and browser-specific behavior without launching a separate browser.
Instructions
Override the User-Agent string
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": "chrome_set_user_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | No | ||
| platform | No | ||
| userAgent | Yes | User-Agent string |