browser_cookie_set
Set a browser cookie with custom name, value, domain, path, expiration, and security flags to manage session or authentication state.
Instructions
Set a cookie with optional flags (domain, path, expires, httpOnly, secure, sameSite)
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": "browser_cookie_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Cookie name | |
| path | No | Cookie path | |
| value | Yes | Cookie value | |
| domain | No | Cookie domain | |
| secure | No | Whether the cookie is secure | |
| expires | No | Cookie expiration as Unix timestamp | |
| httpOnly | No | Whether the cookie is HTTP only | |
| sameSite | No | Cookie SameSite attribute |