content
Extract webpage text in outline, full, or section modes; find interactive elements like links and buttons; run CDP-based UI verification for dead buttons, viewport, touch targets, and clipping.
Instructions
Primary tool for page content. Prefer over screenshots. Actions: extractText (extract webpage text with outline/full/section modes), findInteractive (find all interactive elements like links, buttons, inputs with summary or filtered view), verify (run CDP-based UI verification for dead buttons, viewport issues, touch targets, overflow clipping)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Mode: outline (metadata only), full (entire page), section (specific section by heading) - for extractText action | |
| save | No | Save extracted text to disk (.cdp-tools/extracts/) - for extractText action | |
| limit | No | Max results to return (for findInteractive action, default: 50) | |
| types | No | Filter by element types (for findInteractive action) | |
| action | Yes | Content action: extractText (extract webpage text), findInteractive (find all interactive elements), verify (run UI verification checks) | |
| checks | No | UI checks to run (for verify action): handlers (dead buttons via CDP), viewport (position), touch (target size), overflow (clipping), clickability (z-index blocking - expensive), links (dead hrefs), scroll (horizontal). Default: all except clickability | |
| search | No | Search term to filter results (for extractText, findInteractive actions) | |
| section | No | Section heading (for extractText with mode=section) | |
| showHidden | No | Include hidden elements (for findInteractive action, default: false) | |
| connectionReason | Yes | Connection reference (use the reference from launchChrome output, e.g., "unnamed-connection-default" or your renamed tab) |