set_cookie
Sets a browser cookie by name and value, with optional domain, path, and tab, so agents can persist session state or preferences during webview automation.
Instructions
Set a cookie.
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": {
"name": "<name>",
"value": "<value>"
},
"name": "set_cookie"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab | No | tab id, defaults to current | |
| name | Yes | ||
| path | No | ||
| value | Yes | string, or array of strings for multi-select | |
| domain | No |