storage.set_cookie
Sets a browser cookie for a specified URL or domain so Chromium stores it in the correct site context.
Instructions
Set a cookie. Provide url or domain so Chromium knows where it belongs.
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": "storage.set_cookie"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| name | Yes | ||
| path | No | ||
| value | Yes | ||
| domain | No | ||
| secure | No | ||
| expires | No | Unix seconds. | |
| http_only | No | ||
| same_site | No | ||
| browser_id | No | Browser handle (br_*). Omit to use the only running browser, or auto-launch one. |