Wraith Browser

Cookie Management

Get, set, save, load, and import browser cookies

Cookie management tools let you inspect, modify, and persist cookies across sessions. You can import cookies directly from your Chrome browser profile on Windows, or save/load them as JSON files for reuse.

Tools

ToolDescriptionKey Parameters
cookie_getGet cookies for a domain from the cookie jardomain (required)
cookie_setSet a cookie in the cookie jardomain (required), name (required), value (required), path
cookie_saveSave all cookies to a JSON filepath
cookie_loadLoad cookies from a JSON filepath
cookie_import_chromeImport cookies from Chrome browser profile (Windows)profile, domains

Examples

Persist cookies across sessions

{
  "tool": "cookie_save",
  "arguments": {
    "path": "~/.wraith/cookies.json"
  }
}

Saves all cookies in the browser's cookie jar to a JSON file. Load them back in a future session:

{
  "tool": "cookie_load",
  "arguments": {
    "path": "~/.wraith/cookies.json"
  }
}

Import cookies from Chrome

{
  "tool": "cookie_import_chrome",
  "arguments": {
    "profile": "Default",
    "domains": ["github.com", "linkedin.com"]
  }
}

Reads Chrome's encrypted SQLite cookie database and decrypts cookies using Windows DPAPI. This lets you reuse your existing authenticated sessions without logging in again. Windows only.

On this page