get_cookies
Retrieve cookies for a domain from a running Chrome instance. Filter by name or path, and output in JSON, Netscape, or header format.
Instructions
Get cookies for a given domain from the running Chrome (via DevTools Protocol). Returns cookies whose domain equals or is a sub/parent-domain of the query, in the requested format. Chrome must be launched with --remote-debugging-port.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional: only return the cookie with this exact name. | |
| path | No | Optional: only return cookies with this exact path. | |
| domain | Yes | Domain or URL to fetch cookies for, e.g. "example.com", ".github.com", or "https://example.com/path". | |
| format | No | Output format: "netscape" (cookies.txt), "json" (full cookie objects), or "header" (Cookie: header value). Default "json". | json |