get_cookies
Retrieve all cookies from a page's network stack, including HttpOnly cookies not accessible via document.cookie.
Instructions
Get cookies from the browser network stack visible to a page (Network.getAllCookies). Includes HttpOnly cookies that document.cookie cannot see.
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": {
"sessionId": "<sessionId>",
"pageId": "<pageId>"
},
"name": "get_cookies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | Page id from list_pages. | |
| sessionId | Yes | Session id returned by launch_app. | |
| urlFilter | No | Only include cookies whose domain contains this substring. |