Set Browser Cookies
browser_set_cookiesSet cookies in a browser for authorized full-profile tests. Requires explicit acknowledgment of raw capture and credential access.
Instructions
Use when a full-profile authorized test explicitly requires establishing or changing cookie state. Preconditions: acknowledgeRawCapture: true and acknowledgeCredentialAccess: true are required; use only intended test credentials. Next: verify the resulting flow without exposing cookie values and clear temporary state when appropriate. Sensitivity: this modifies credential state and raw cookie values are secrets.
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": "browser_set_cookies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cookies | Yes | ||
| acknowledgeRawCapture | No | ||
| acknowledgeCredentialAccess | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| result | No |