puppeteer_set_cookies
Sets cookies on a browser tab to establish session state or authentication before navigating or testing pages.
Instructions
Set cookies on a tab.
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": {
"cookies": "<cookies>"
},
"name": "puppeteer_set_cookies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | No | ||
| cookies | Yes |