Manage Browser Cookies
gpm_browser_cookiesRead, add, update, or clear cookies for the connected GPM browser profile to manage session state and authentication.
Instructions
Đọc (get), thêm/cập nhật (set), hoặc xoá (clear) cookies của profile trình duyệt đang kết nối.
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": {
"action": "<action>"
},
"name": "gpm_browser_cookies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | No | Dùng cho action="get": lọc cookie theo danh sách URL | |
| action | Yes | get | set | clear | |
| cookies | No | Dùng cho action="set": danh sách cookie cần thêm | |
| profile_id | No | ID của profile GPM đang kết nối CDP (có thể bỏ trống nếu chỉ có 1 profile đang kết nối) |