test_with_different_cookies
Test a webpage using modified cookies without losing your original session. Sets test cookies, extracts the resulting content, then restores the original cookies if needed.
Instructions
Test a page with modified cookies. Saves original cookies, applies test cookies, optionally restores.
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": {
"url": "<url>",
"cookies": "<cookies>"
},
"name": "test_with_different_cookies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL to test | |
| tabId | No | Tab ID (optional) | |
| cookies | Yes | Cookies to set for testing | |
| extractContent | No | Extract page content with new cookies | |
| restoreOriginal | No | Restore original cookies after test |