neuron_set_cookie
Set a cookie on a specific URL and domain, with configurable attributes for path, expiration, security, and same-site behavior to manage browser state during automated testing.
Instructions
Set a cookie on a 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": {
"url": "<url>",
"name": "<name>",
"value": "<value>"
},
"name": "neuron_set_cookie"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL context for the cookie | |
| name | Yes | ||
| path | No | Default: / | |
| value | Yes | ||
| domain | No | ||
| secure | No | ||
| httpOnly | No | ||
| sameSite | No | ||
| expirationDate | No | Unix timestamp |