delete_cookie
Deletes a cookie by name from a target Electron app, using a URL or domain and optional path to clear specific cookie data.
Instructions
Delete a cookie by name. Provide url or domain, same as set_cookie. Defaults url to the page location.
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>"
},
"name": "delete_cookie"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| name | Yes | ||
| path | No | ||
| domain | No | ||
| targetId | No | ||
| processId | No | Target process ID. Omit if only one app is running. |