Get cookies
get_cookiesRetrieve browser cookies with domain, path, and secure flag. Use a URL to filter cookies; otherwise, all cookies are returned, including sensitive session tokens.
Instructions
List browser cookies with their domain, path and secure flag.
Reads the whole browser cookie jar, not just the current page, unless you
pass url. Values are returned in full, so treat the output as sensitive —
it contains live session tokens.
To carry these across a browser restart use save_session, or switch to a persistent profile with use_profile.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Only return cookies that would be sent to this URL (matching domain, path and secure flag). Empty string returns every cookie in the browser. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |