browser_get_cookies
Retrieve cookies for any domain currently open in the browser session. Navigate to the target site first, then pass its domain to access matching cookies for that tab, parent, or subdomain.
Instructions
Get cookies for a site this session has open in one of its tabs (the site itself, a parent domain or a subdomain). Navigate to the site first - cookies for sites the session is not working on are refused.
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": {
"domain": "<domain>"
},
"name": "browser_get_cookies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain to get cookies for (e.g. ".stripe.com"). Must match a tab this session has open. |