Cookies
cookiesGet, set, or clear browser cookie state for the current context; limit retrieval to specific URLs when needed.
Instructions
Get, set, or clear cookies for the current browser context. get can be limited to URLs.
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": {
"action": "<action>"
},
"name": "cookies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | No | For get: only cookies sent to these URLs. | |
| action | Yes | ||
| cookies | No | For set: cookie objects (name, value, domain, path, expires, sameSite…). |