browser_set_cookies
Set one or more cookies in the browser session. A cookie with the same name, domain and path replaces the existing one.
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": {
"session_id": "<session_id>",
"cookies": "<cookies>"
},
"name": "browser_set_cookies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cookies | Yes | Array of cookie objects to set | |
| session_id | Yes | Session ID returned by browser_navigate |