linkedin_auth_import_cookies
Import LinkedIn cookies from pasted text to authenticate the browser session. Supports multiple formats: JSON, cookies.txt, or raw header strings.
Instructions
Import LinkedIn cookies supplied directly as text. Accepts Cookie-Editor JSON, EditThisCookie JSON, a Playwright storageState object, Netscape cookies.txt, or a raw "li_at=…; JSESSIONID=…" header string. Use this when the user pastes cookies into the conversation rather than saving a file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cookies | Yes | The cookie data in any supported format. Must include at least the li_at cookie. | |
| persist | No | Save the cookies to data/cookies/browser-state.json for reuse. Defaults to true. |