cookies_set
Add cookies to the browser session to bypass bot detection and replay clearance tokens from a real Chrome session, avoiding challenge JavaScript.
Instructions
Add cookies to the session jar. Each item is an object {name, value, domain, path?, secure?, http_only?, url?} or a raw Set-Cookie string. Used to replay clearance cookies (e.g. PerimeterX _px3) lifted from a real Chrome session, bypassing bot detection without running the challenge JS.
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": "cookies_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Default URL for cookies that don't specify domain | |
| cookies | Yes | Array of cookie objects or Set-Cookie strings |