Screenshot GPM Browser
gpm_browser_screenshotCapture the current browser tab as PNG or JPEG—viewport, full page, or a specific element—and return it for AI inspection, with optional saving to disk.
Instructions
Chụp ảnh màn hình tab hiện tại (viewport, toàn trang, hoặc 1 selector). Trả về trực tiếp ảnh PNG/JPEG cho AI xem và tuỳ chọn lưu ra tệp.
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_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Định dạng ảnh: png (mặc định) hoặc jpeg | |
| quality | No | Chất lượng 10..100 khi type="jpeg" | |
| selector | No | Chụp riêng 1 phần tử nếu truyền selector | |
| full_page | No | Chụp toàn bộ chiều dài trang (mặc định false) | |
| save_path | No | Tuỳ chọn: đường dẫn tệp để lưu ảnh ra đĩa | |
| 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) |