Analyze Executable Examples
Analyze Executable Examples
Section titled “Analyze Executable Examples”Each section provides one runnable baseline call, expected response shape, and one failure example with a concrete fix. Use these as copy/paste starters and then adjust for your page or workflow.
Quick Reference
Section titled “Quick Reference”{ "tool": "analyze", "arguments": { "what": "dom" }}Common Parameters
Section titled “Common Parameters”| Parameter | Type | Description |
|---|---|---|
what | string | Mode name to execute. |
tab_id | number | Optional target browser tab. |
telemetry_mode | string | Optional telemetry verbosity: off, auto, full. |
Minimal call
Section titled “Minimal call”{ "tool": "analyze", "arguments": { "what": "dom", "selector": ".error-banner" }}Expected response shape
Section titled “Expected response shape”{ "what": "dom", "status": "completed", "result": { "summary": "Analysis completed", "findings": [] }}Failure example and fix
Section titled “Failure example and fix”{ "tool": "analyze", "arguments": { "what": "dom", "selector": 42 }}Fix: Use selector as a CSS or semantic selector string.
performance
Section titled “performance”Minimal call
Section titled “Minimal call”{ "tool": "analyze", "arguments": { "what": "performance" }}Expected response shape
Section titled “Expected response shape”{ "what": "performance", "status": "completed", "result": { "summary": "Analysis completed", "findings": [] }}Failure example and fix
Section titled “Failure example and fix”{ "tool": "analyze", "arguments": { "what": "not_a_real_mode" }}Fix: Use a valid analyze mode value, e.g. performance.
accessibility
Section titled “accessibility”Minimal call
Section titled “Minimal call”{ "tool": "analyze", "arguments": { "what": "accessibility", "scope": "#main", "tags": [ "wcag2a", "wcag2aa" ] }}Expected response shape
Section titled “Expected response shape”{ "what": "accessibility", "status": "completed", "result": { "summary": "Analysis completed", "findings": [] }}Failure example and fix
Section titled “Failure example and fix”{ "tool": "analyze", "arguments": { "what": "not_a_real_mode", "scope": "#main", "tags": [ "wcag2a", "wcag2aa" ] }}Fix: Use a valid analyze mode value, e.g. accessibility.
error_clusters
Section titled “error_clusters”Minimal call
Section titled “Minimal call”{ "tool": "analyze", "arguments": { "what": "error_clusters" }}Expected response shape
Section titled “Expected response shape”{ "what": "error_clusters", "status": "completed", "result": { "summary": "Analysis completed", "findings": [] }}Failure example and fix
Section titled “Failure example and fix”{ "tool": "analyze", "arguments": { "what": "not_a_real_mode" }}Fix: Use a valid analyze mode value, e.g. error_clusters.
navigation_patterns
Section titled “navigation_patterns”Minimal call
Section titled “Minimal call”{ "tool": "analyze", "arguments": { "what": "navigation_patterns" }}Expected response shape
Section titled “Expected response shape”{ "what": "navigation_patterns", "status": "completed", "result": { "summary": "Analysis completed", "findings": [] }}Failure example and fix
Section titled “Failure example and fix”{ "tool": "analyze", "arguments": { "what": "not_a_real_mode" }}Fix: Use a valid analyze mode value, e.g. navigation_patterns.
security_audit
Section titled “security_audit”Minimal call
Section titled “Minimal call”{ "tool": "analyze", "arguments": { "what": "security_audit", "checks": [ "credentials", "pii" ] }}Expected response shape
Section titled “Expected response shape”{ "what": "security_audit", "status": "completed", "result": { "summary": "Analysis completed", "findings": [] }}Failure example and fix
Section titled “Failure example and fix”{ "tool": "analyze", "arguments": { "what": "not_a_real_mode", "checks": [ "credentials", "pii" ] }}Fix: Use a valid analyze mode value, e.g. security_audit.
third_party_audit
Section titled “third_party_audit”Minimal call
Section titled “Minimal call”{ "tool": "analyze", "arguments": { "what": "third_party_audit" }}Expected response shape
Section titled “Expected response shape”{ "what": "third_party_audit", "status": "completed", "result": { "summary": "Analysis completed", "findings": [] }}Failure example and fix
Section titled “Failure example and fix”{ "tool": "analyze", "arguments": { "what": "not_a_real_mode" }}Fix: Use a valid analyze mode value, e.g. third_party_audit.
link_health
Section titled “link_health”Minimal call
Section titled “Minimal call”{ "tool": "analyze", "arguments": { "what": "link_health", "domain": "example.com" }}Expected response shape
Section titled “Expected response shape”{ "what": "link_health", "status": "completed", "result": { "summary": "Analysis completed", "findings": [] }}Failure example and fix
Section titled “Failure example and fix”{ "tool": "analyze", "arguments": { "what": "not_a_real_mode", "domain": "example.com" }}Fix: Use a valid analyze mode value, e.g. link_health.
link_validation
Section titled “link_validation”Minimal call
Section titled “Minimal call”{ "tool": "analyze", "arguments": { "what": "link_validation", "urls": [ "https://example.com", "https://example.com/docs" ] }}Expected response shape
Section titled “Expected response shape”{ "what": "link_validation", "status": "completed", "result": { "summary": "Analysis completed", "findings": [] }}Failure example and fix
Section titled “Failure example and fix”{ "tool": "analyze", "arguments": { "what": "not_a_real_mode", "urls": [ "https://example.com", "https://example.com/docs" ] }}Fix: Use a valid analyze mode value, e.g. link_validation.
page_summary
Section titled “page_summary”Minimal call
Section titled “Minimal call”{ "tool": "analyze", "arguments": { "what": "page_summary", "timeout_ms": 10000 }}Expected response shape
Section titled “Expected response shape”{ "what": "page_summary", "status": "completed", "result": { "summary": "Analysis completed", "findings": [] }}Failure example and fix
Section titled “Failure example and fix”{ "tool": "analyze", "arguments": { "what": "page_summary", "timeout_ms": "10000" }}Fix: Use timeout_ms as a number of milliseconds.
annotations
Section titled “annotations”Minimal call
Section titled “Minimal call”{ "tool": "analyze", "arguments": { "what": "annotations", "wait": true, "timeout_ms": 60000 }}Expected response shape
Section titled “Expected response shape”{ "what": "annotations", "status": "completed", "result": { "summary": "Analysis completed", "findings": [] }}Failure example and fix
Section titled “Failure example and fix”{ "tool": "analyze", "arguments": { "what": "annotations", "wait": true, "timeout_ms": "10000" }}Fix: Use timeout_ms as a number of milliseconds.
annotation_detail
Section titled “annotation_detail”Minimal call
Section titled “Minimal call”{ "tool": "analyze", "arguments": { "what": "annotation_detail", "correlation_id": "ann_123" }}Expected response shape
Section titled “Expected response shape”{ "what": "annotation_detail", "status": "completed", "result": { "summary": "Analysis completed", "findings": [] }}Failure example and fix
Section titled “Failure example and fix”{ "tool": "analyze", "arguments": { "what": "not_a_real_mode", "correlation_id": "ann_123" }}Fix: Use a valid analyze mode value, e.g. annotation_detail.
api_validation
Section titled “api_validation”Minimal call
Section titled “Minimal call”{ "tool": "analyze", "arguments": { "what": "api_validation", "operation": "analyze" }}Expected response shape
Section titled “Expected response shape”{ "what": "api_validation", "status": "completed", "result": { "summary": "Analysis completed", "findings": [] }}Failure example and fix
Section titled “Failure example and fix”{ "tool": "analyze", "arguments": { "what": "not_a_real_mode", "operation": "analyze" }}Fix: Use a valid analyze mode value, e.g. api_validation.
draw_history
Section titled “draw_history”Minimal call
Section titled “Minimal call”{ "tool": "analyze", "arguments": { "what": "draw_history" }}Expected response shape
Section titled “Expected response shape”{ "what": "draw_history", "status": "completed", "result": { "summary": "Analysis completed", "findings": [] }}Failure example and fix
Section titled “Failure example and fix”{ "tool": "analyze", "arguments": { "what": "not_a_real_mode" }}Fix: Use a valid analyze mode value, e.g. draw_history.
draw_session
Section titled “draw_session”Minimal call
Section titled “Minimal call”{ "tool": "analyze", "arguments": { "what": "draw_session", "file": "draw-session-2026-03-05.json" }}Expected response shape
Section titled “Expected response shape”{ "what": "draw_session", "status": "completed", "result": { "summary": "Analysis completed", "findings": [] }}Failure example and fix
Section titled “Failure example and fix”{ "tool": "analyze", "arguments": { "what": "not_a_real_mode", "file": "draw-session-2026-03-05.json" }}Fix: Use a valid analyze mode value, e.g. draw_session.
computed_styles
Section titled “computed_styles”Minimal call
Section titled “Minimal call”{ "tool": "analyze", "arguments": { "what": "computed_styles", "selector": "button[type=\"submit\"]" }}Expected response shape
Section titled “Expected response shape”{ "what": "computed_styles", "status": "completed", "result": { "summary": "Analysis completed", "findings": [] }}Failure example and fix
Section titled “Failure example and fix”{ "tool": "analyze", "arguments": { "what": "computed_styles", "selector": 42 }}Fix: Use selector as a CSS or semantic selector string.
Minimal call
Section titled “Minimal call”{ "tool": "analyze", "arguments": { "what": "forms" }}Expected response shape
Section titled “Expected response shape”{ "what": "forms", "status": "completed", "result": { "summary": "Analysis completed", "findings": [] }}Failure example and fix
Section titled “Failure example and fix”{ "tool": "analyze", "arguments": { "what": "not_a_real_mode" }}Fix: Use a valid analyze mode value, e.g. forms.
form_state
Section titled “form_state”Minimal call
Section titled “Minimal call”{ "tool": "analyze", "arguments": { "what": "form_state", "selector": "form#checkout" }}Expected response shape
Section titled “Expected response shape”{ "what": "form_state", "status": "completed", "result": { "summary": "Analysis completed", "findings": [] }}Failure example and fix
Section titled “Failure example and fix”{ "tool": "analyze", "arguments": { "what": "form_state", "selector": 42 }}Fix: Use selector as a CSS or semantic selector string.
form_validation
Section titled “form_validation”Minimal call
Section titled “Minimal call”{ "tool": "analyze", "arguments": { "what": "form_validation" }}Expected response shape
Section titled “Expected response shape”{ "what": "form_validation", "status": "completed", "result": { "summary": "Analysis completed", "findings": [] }}Failure example and fix
Section titled “Failure example and fix”{ "tool": "analyze", "arguments": { "what": "not_a_real_mode" }}Fix: Use a valid analyze mode value, e.g. form_validation.
data_table
Section titled “data_table”Minimal call
Section titled “Minimal call”{ "tool": "analyze", "arguments": { "what": "data_table", "selector": "table" }}Expected response shape
Section titled “Expected response shape”{ "what": "data_table", "status": "completed", "result": { "summary": "Analysis completed", "findings": [] }}Failure example and fix
Section titled “Failure example and fix”{ "tool": "analyze", "arguments": { "what": "data_table", "selector": 42 }}Fix: Use selector as a CSS or semantic selector string.
visual_baseline
Section titled “visual_baseline”Minimal call
Section titled “Minimal call”{ "tool": "analyze", "arguments": { "what": "visual_baseline", "name": "home-baseline" }}Expected response shape
Section titled “Expected response shape”{ "what": "visual_baseline", "status": "completed", "result": { "summary": "Analysis completed", "findings": [] }}Failure example and fix
Section titled “Failure example and fix”{ "tool": "analyze", "arguments": { "what": "not_a_real_mode", "name": "home-baseline" }}Fix: Use a valid analyze mode value, e.g. visual_baseline.
visual_diff
Section titled “visual_diff”Minimal call
Section titled “Minimal call”{ "tool": "analyze", "arguments": { "what": "visual_diff", "baseline": "home-baseline", "name": "home-current" }}Expected response shape
Section titled “Expected response shape”{ "what": "visual_diff", "status": "completed", "result": { "summary": "Analysis completed", "findings": [] }}Failure example and fix
Section titled “Failure example and fix”{ "tool": "analyze", "arguments": { "what": "not_a_real_mode", "baseline": "home-baseline", "name": "home-current" }}Fix: Use a valid analyze mode value, e.g. visual_diff.
visual_baselines
Section titled “visual_baselines”Minimal call
Section titled “Minimal call”{ "tool": "analyze", "arguments": { "what": "visual_baselines" }}Expected response shape
Section titled “Expected response shape”{ "what": "visual_baselines", "status": "completed", "result": { "summary": "Analysis completed", "findings": [] }}Failure example and fix
Section titled “Failure example and fix”{ "tool": "analyze", "arguments": { "what": "not_a_real_mode" }}Fix: Use a valid analyze mode value, e.g. visual_baselines.
navigation
Section titled “navigation”Minimal call
Section titled “Minimal call”{ "tool": "analyze", "arguments": { "what": "navigation" }}Expected response shape
Section titled “Expected response shape”{ "what": "navigation", "status": "completed", "result": { "summary": "Analysis completed", "findings": [] }}Failure example and fix
Section titled “Failure example and fix”{ "tool": "analyze", "arguments": { "what": "not_a_real_mode" }}Fix: Use a valid analyze mode value, e.g. navigation.
page_structure
Section titled “page_structure”Minimal call
Section titled “Minimal call”{ "tool": "analyze", "arguments": { "what": "page_structure" }}Expected response shape
Section titled “Expected response shape”{ "what": "page_structure", "status": "completed", "result": { "summary": "Analysis completed", "findings": [] }}Failure example and fix
Section titled “Failure example and fix”{ "tool": "analyze", "arguments": { "what": "not_a_real_mode" }}Fix: Use a valid analyze mode value, e.g. page_structure.
Minimal call
Section titled “Minimal call”{ "tool": "analyze", "arguments": { "what": "audit", "categories": [ "performance", "accessibility" ] }}Expected response shape
Section titled “Expected response shape”{ "what": "audit", "status": "completed", "result": { "summary": "Analysis completed", "findings": [] }}Failure example and fix
Section titled “Failure example and fix”{ "tool": "analyze", "arguments": { "what": "not_a_real_mode", "categories": [ "performance", "accessibility" ] }}Fix: Use a valid analyze mode value, e.g. audit.
feature_gates
Section titled “feature_gates”Minimal call
Section titled “Minimal call”{ "tool": "analyze", "arguments": { "what": "feature_gates" }}Expected response shape
Section titled “Expected response shape”{ "what": "feature_gates", "status": "completed", "result": { "summary": "Analysis completed", "findings": [] }}Failure example and fix
Section titled “Failure example and fix”{ "tool": "analyze", "arguments": { "what": "not_a_real_mode" }}Fix: Use a valid analyze mode value, e.g. feature_gates.