add_cookie
Add a cookie dictionary to the current domain's cookie store, enabling session management and state persistence in automated browser tests.
Instructions
Add a Selenium cookie dict to the current domain.
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": {
"cookie": "<cookie>"
},
"name": "add_cookie"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cookie | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||