browser_set_cookies
Set cookies in a browser page to manage sessions and bypass bot detection. Use with page ID and cookie list.
Instructions
Set cookies in the page's browser context.
Args: page_id: Target page ID. cookies: List of cookie dicts with name, value, domain, path.
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": {
"page_id": "<page_id>",
"cookies": "<cookies>"
},
"name": "browser_set_cookies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes | ||
| cookies | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||