get_cookies
Read all cookies or a single cookie by name from the current browser page, including httpOnly ones. Use it to verify login session cookies or copy a cookie into another session.
Instructions
Read the cookies the browser holds for the current page: all of them, or one by name. Includes httpOnly cookies that page JavaScript cannot see. Returns each cookie's name, value, domain, path, expiry, and flags. Useful to check that a login created a session cookie, or to copy one into another session with add_cookie.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_cookies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name of one cookie to read, e.g. 'session_id'. Omit to read all cookies for the current page. |