cookie_set
Set a browser cookie with name, value, and optional domain, path, security, and expiration settings. Domain defaults to the current page if not specified.
Instructions
Set a cookie. Domain defaults to current page domain if not specified.
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": "cookie_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| path | No | ||
| value | Yes | ||
| domain | No | ||
| secure | No | ||
| tab_id | No | ||
| expires | No | ||
| http_only | No | ||
| same_site | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |