Manage GPM Browser Tabs
gpm_browser_tabsList, open, switch, or close tabs in a GPM browser profile over CDP to control multiple pages during automation.
Instructions
Quản lý các tab trong trình duyệt GPM: list (liệt kê), new (mở tab mới), switch (chuyển tab), close (đóng tab).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "gpm_browser_tabs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | URL cần mở khi action="new" | |
| index | No | Chỉ số tab (0-based) khi action="switch" hoặc "close" | |
| action | No | Thao tác: list (mặc định), new, switch, close | |
| 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) |