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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"cookies": "<cookies>"
},
"name": "linkedin_auth_import_cookies"
}
}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. |