analyze_dom_structure
Analyzes the DOM of a stored page to identify interactive elements, content areas, and navigation patterns based on a given goal. Supports focus areas and tree depth.
Instructions
AI-guided exploration and analysis of DOM structure using goal-oriented patterns. Analyzes stored DOM JSON to identify interactive elements, content areas, and navigation patterns.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes | Unique identifier of the page to analyze | |
| analysis_goal | No | Specific goal for DOM analysis (e.g., 'find login form', 'locate navigation menu') | |
| focus_areas | No | Specific areas to focus on (e.g., ['forms', 'navigation', 'content']) | |
| max_depth | No | Maximum depth to analyze in DOM tree |