Snapshot Page Content & Interactive Elements
gpm_browser_snapshotReads the visible text of the current page and lists interactive elements (links, buttons, inputs, selects) with suggested selectors so you can click or fill forms accurately.
Instructions
Đọc nhanh nội dung chữ của trang hiện tại và liệt kê các phần tử tương tác (link, button, input, select) kèm selector gợi ý để click/điền form chính xác.
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_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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) | |
| max_elements | No | Số phần tử tương tác tối đa (mặc định 80) | |
| max_text_chars | No | Giới hạn số ký tự văn bản trả về (mặc định 6000) |