Skip to content

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.

{
"tool": "analyze",
"arguments": {
"what": "dom"
}
}
ParameterTypeDescription
whatstringMode name to execute.
tab_idnumberOptional target browser tab.
telemetry_modestringOptional telemetry verbosity: off, auto, full.
{
"tool": "analyze",
"arguments": {
"what": "dom",
"selector": ".error-banner"
}
}
{
"what": "dom",
"status": "completed",
"result": {
"summary": "Analysis completed",
"findings": []
}
}
{
"tool": "analyze",
"arguments": {
"what": "dom",
"selector": 42
}
}

Fix: Use selector as a CSS or semantic selector string.

{
"tool": "analyze",
"arguments": {
"what": "performance"
}
}
{
"what": "performance",
"status": "completed",
"result": {
"summary": "Analysis completed",
"findings": []
}
}
{
"tool": "analyze",
"arguments": {
"what": "not_a_real_mode"
}
}

Fix: Use a valid analyze mode value, e.g. performance.

{
"tool": "analyze",
"arguments": {
"what": "accessibility",
"scope": "#main",
"tags": [
"wcag2a",
"wcag2aa"
]
}
}
{
"what": "accessibility",
"status": "completed",
"result": {
"summary": "Analysis completed",
"findings": []
}
}
{
"tool": "analyze",
"arguments": {
"what": "not_a_real_mode",
"scope": "#main",
"tags": [
"wcag2a",
"wcag2aa"
]
}
}

Fix: Use a valid analyze mode value, e.g. accessibility.

{
"tool": "analyze",
"arguments": {
"what": "error_clusters"
}
}
{
"what": "error_clusters",
"status": "completed",
"result": {
"summary": "Analysis completed",
"findings": []
}
}
{
"tool": "analyze",
"arguments": {
"what": "not_a_real_mode"
}
}

Fix: Use a valid analyze mode value, e.g. error_clusters.

{
"tool": "analyze",
"arguments": {
"what": "navigation_patterns"
}
}
{
"what": "navigation_patterns",
"status": "completed",
"result": {
"summary": "Analysis completed",
"findings": []
}
}
{
"tool": "analyze",
"arguments": {
"what": "not_a_real_mode"
}
}

Fix: Use a valid analyze mode value, e.g. navigation_patterns.

{
"tool": "analyze",
"arguments": {
"what": "security_audit",
"checks": [
"credentials",
"pii"
]
}
}
{
"what": "security_audit",
"status": "completed",
"result": {
"summary": "Analysis completed",
"findings": []
}
}
{
"tool": "analyze",
"arguments": {
"what": "not_a_real_mode",
"checks": [
"credentials",
"pii"
]
}
}

Fix: Use a valid analyze mode value, e.g. security_audit.

{
"tool": "analyze",
"arguments": {
"what": "third_party_audit"
}
}
{
"what": "third_party_audit",
"status": "completed",
"result": {
"summary": "Analysis completed",
"findings": []
}
}
{
"tool": "analyze",
"arguments": {
"what": "not_a_real_mode"
}
}

Fix: Use a valid analyze mode value, e.g. third_party_audit.

{
"tool": "analyze",
"arguments": {
"what": "link_health",
"domain": "example.com"
}
}
{
"what": "link_health",
"status": "completed",
"result": {
"summary": "Analysis completed",
"findings": []
}
}
{
"tool": "analyze",
"arguments": {
"what": "not_a_real_mode",
"domain": "example.com"
}
}

Fix: Use a valid analyze mode value, e.g. link_health.

{
"tool": "analyze",
"arguments": {
"what": "link_validation",
"urls": [
"https://example.com",
"https://example.com/docs"
]
}
}
{
"what": "link_validation",
"status": "completed",
"result": {
"summary": "Analysis completed",
"findings": []
}
}
{
"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.

{
"tool": "analyze",
"arguments": {
"what": "page_summary",
"timeout_ms": 10000
}
}
{
"what": "page_summary",
"status": "completed",
"result": {
"summary": "Analysis completed",
"findings": []
}
}
{
"tool": "analyze",
"arguments": {
"what": "page_summary",
"timeout_ms": "10000"
}
}

Fix: Use timeout_ms as a number of milliseconds.

{
"tool": "analyze",
"arguments": {
"what": "annotations",
"wait": true,
"timeout_ms": 60000
}
}
{
"what": "annotations",
"status": "completed",
"result": {
"summary": "Analysis completed",
"findings": []
}
}
{
"tool": "analyze",
"arguments": {
"what": "annotations",
"wait": true,
"timeout_ms": "10000"
}
}

Fix: Use timeout_ms as a number of milliseconds.

{
"tool": "analyze",
"arguments": {
"what": "annotation_detail",
"correlation_id": "ann_123"
}
}
{
"what": "annotation_detail",
"status": "completed",
"result": {
"summary": "Analysis completed",
"findings": []
}
}
{
"tool": "analyze",
"arguments": {
"what": "not_a_real_mode",
"correlation_id": "ann_123"
}
}

Fix: Use a valid analyze mode value, e.g. annotation_detail.

{
"tool": "analyze",
"arguments": {
"what": "api_validation",
"operation": "analyze"
}
}
{
"what": "api_validation",
"status": "completed",
"result": {
"summary": "Analysis completed",
"findings": []
}
}
{
"tool": "analyze",
"arguments": {
"what": "not_a_real_mode",
"operation": "analyze"
}
}

Fix: Use a valid analyze mode value, e.g. api_validation.

{
"tool": "analyze",
"arguments": {
"what": "draw_history"
}
}
{
"what": "draw_history",
"status": "completed",
"result": {
"summary": "Analysis completed",
"findings": []
}
}
{
"tool": "analyze",
"arguments": {
"what": "not_a_real_mode"
}
}

Fix: Use a valid analyze mode value, e.g. draw_history.

{
"tool": "analyze",
"arguments": {
"what": "draw_session",
"file": "draw-session-2026-03-05.json"
}
}
{
"what": "draw_session",
"status": "completed",
"result": {
"summary": "Analysis completed",
"findings": []
}
}
{
"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.

{
"tool": "analyze",
"arguments": {
"what": "computed_styles",
"selector": "button[type=\"submit\"]"
}
}
{
"what": "computed_styles",
"status": "completed",
"result": {
"summary": "Analysis completed",
"findings": []
}
}
{
"tool": "analyze",
"arguments": {
"what": "computed_styles",
"selector": 42
}
}

Fix: Use selector as a CSS or semantic selector string.

{
"tool": "analyze",
"arguments": {
"what": "forms"
}
}
{
"what": "forms",
"status": "completed",
"result": {
"summary": "Analysis completed",
"findings": []
}
}
{
"tool": "analyze",
"arguments": {
"what": "not_a_real_mode"
}
}

Fix: Use a valid analyze mode value, e.g. forms.

{
"tool": "analyze",
"arguments": {
"what": "form_state",
"selector": "form#checkout"
}
}
{
"what": "form_state",
"status": "completed",
"result": {
"summary": "Analysis completed",
"findings": []
}
}
{
"tool": "analyze",
"arguments": {
"what": "form_state",
"selector": 42
}
}

Fix: Use selector as a CSS or semantic selector string.

{
"tool": "analyze",
"arguments": {
"what": "form_validation"
}
}
{
"what": "form_validation",
"status": "completed",
"result": {
"summary": "Analysis completed",
"findings": []
}
}
{
"tool": "analyze",
"arguments": {
"what": "not_a_real_mode"
}
}

Fix: Use a valid analyze mode value, e.g. form_validation.

{
"tool": "analyze",
"arguments": {
"what": "data_table",
"selector": "table"
}
}
{
"what": "data_table",
"status": "completed",
"result": {
"summary": "Analysis completed",
"findings": []
}
}
{
"tool": "analyze",
"arguments": {
"what": "data_table",
"selector": 42
}
}

Fix: Use selector as a CSS or semantic selector string.

{
"tool": "analyze",
"arguments": {
"what": "visual_baseline",
"name": "home-baseline"
}
}
{
"what": "visual_baseline",
"status": "completed",
"result": {
"summary": "Analysis completed",
"findings": []
}
}
{
"tool": "analyze",
"arguments": {
"what": "not_a_real_mode",
"name": "home-baseline"
}
}

Fix: Use a valid analyze mode value, e.g. visual_baseline.

{
"tool": "analyze",
"arguments": {
"what": "visual_diff",
"baseline": "home-baseline",
"name": "home-current"
}
}
{
"what": "visual_diff",
"status": "completed",
"result": {
"summary": "Analysis completed",
"findings": []
}
}
{
"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.

{
"tool": "analyze",
"arguments": {
"what": "visual_baselines"
}
}
{
"what": "visual_baselines",
"status": "completed",
"result": {
"summary": "Analysis completed",
"findings": []
}
}
{
"tool": "analyze",
"arguments": {
"what": "not_a_real_mode"
}
}

Fix: Use a valid analyze mode value, e.g. visual_baselines.

{
"tool": "analyze",
"arguments": {
"what": "navigation"
}
}
{
"what": "navigation",
"status": "completed",
"result": {
"summary": "Analysis completed",
"findings": []
}
}
{
"tool": "analyze",
"arguments": {
"what": "not_a_real_mode"
}
}

Fix: Use a valid analyze mode value, e.g. navigation.

{
"tool": "analyze",
"arguments": {
"what": "page_structure"
}
}
{
"what": "page_structure",
"status": "completed",
"result": {
"summary": "Analysis completed",
"findings": []
}
}
{
"tool": "analyze",
"arguments": {
"what": "not_a_real_mode"
}
}

Fix: Use a valid analyze mode value, e.g. page_structure.

{
"tool": "analyze",
"arguments": {
"what": "audit",
"categories": [
"performance",
"accessibility"
]
}
}
{
"what": "audit",
"status": "completed",
"result": {
"summary": "Analysis completed",
"findings": []
}
}
{
"tool": "analyze",
"arguments": {
"what": "not_a_real_mode",
"categories": [
"performance",
"accessibility"
]
}
}

Fix: Use a valid analyze mode value, e.g. audit.

{
"tool": "analyze",
"arguments": {
"what": "feature_gates"
}
}
{
"what": "feature_gates",
"status": "completed",
"result": {
"summary": "Analysis completed",
"findings": []
}
}
{
"tool": "analyze",
"arguments": {
"what": "not_a_real_mode"
}
}

Fix: Use a valid analyze mode value, e.g. feature_gates.