safari_set_cookie
Set a cookie on the current page to manage sessions, authentication, or preferences. Specify name, value, domain, path, expiry, and security flags for precise control.
Instructions
Set a cookie on the current page
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": "safari_set_cookie"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Cookie name | |
| path | No | Cookie path (default: /) | |
| value | Yes | Cookie value | |
| domain | No | Cookie domain | |
| secure | No | Secure flag | |
| expires | No | Expiry date (e.g. 'Thu, 01 Jan 2030 00:00:00 GMT') | |
| sameSite | No | SameSite attribute |