Import cookies via the Local API
import_cookies_localImport cookies directly into a browser profile's on-disk data directory using the running desktop app, for profiles with cloud sync disabled.
Instructions
Write cookies into a profile's on-disk data directory through the running desktop app. Prefer import_cookies unless the profile has cloud sync disabled.
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": {
"profileId": "<profileId>",
"cookies": "<cookies>"
},
"name": "import_cookies_local"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cookies | Yes | ||
| profileId | Yes | ||
| cloudSyncDisabled | No | Skip pulling the data directory from cloud storage and pushing it back. | |
| browserProfilePassword | No |