Skip to content

Observe 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": "observe",
"arguments": {
"what": "errors"
}
}
ParameterTypeDescription
whatstringMode name to execute.
tab_idnumberOptional target browser tab.
telemetry_modestringOptional telemetry verbosity: off, auto, full.
{
"tool": "observe",
"arguments": {
"what": "errors"
}
}
{
"what": "errors",
"items": [
{
"id": "sample",
"summary": "...mode-specific payload..."
}
],
"metadata": {
"limit": 100,
"next_cursor": "cursor_123"
}
}
{
"tool": "observe",
"arguments": {
"what": "not_a_real_mode"
}
}

Fix: Use a valid observe mode value, e.g. errors.

{
"tool": "observe",
"arguments": {
"what": "logs"
}
}
{
"what": "logs",
"items": [
{
"id": "sample",
"summary": "...mode-specific payload..."
}
],
"metadata": {
"limit": 100,
"next_cursor": "cursor_123"
}
}
{
"tool": "observe",
"arguments": {
"what": "not_a_real_mode"
}
}

Fix: Use a valid observe mode value, e.g. logs.

{
"tool": "observe",
"arguments": {
"what": "extension_logs"
}
}
{
"what": "extension_logs",
"items": [
{
"id": "sample",
"summary": "...mode-specific payload..."
}
],
"metadata": {
"limit": 100,
"next_cursor": "cursor_123"
}
}
{
"tool": "observe",
"arguments": {
"what": "not_a_real_mode"
}
}

Fix: Use a valid observe mode value, e.g. extension_logs.

{
"tool": "observe",
"arguments": {
"what": "network_waterfall"
}
}
{
"what": "network_waterfall",
"items": [
{
"id": "sample",
"summary": "...mode-specific payload..."
}
],
"metadata": {
"limit": 100,
"next_cursor": "cursor_123"
}
}
{
"tool": "observe",
"arguments": {
"what": "not_a_real_mode"
}
}

Fix: Use a valid observe mode value, e.g. network_waterfall.

{
"tool": "observe",
"arguments": {
"what": "network_bodies",
"url": "/api",
"status_min": 400
}
}
{
"what": "network_bodies",
"items": [
{
"id": "sample",
"summary": "...mode-specific payload..."
}
],
"metadata": {
"limit": 100,
"next_cursor": "cursor_123"
}
}
{
"tool": "observe",
"arguments": {
"what": "network_bodies",
"url": 404,
"status_min": 400
}
}

Fix: Use a fully qualified URL string, e.g. https://example.com.

{
"tool": "observe",
"arguments": {
"what": "websocket_events",
"last_n": 20
}
}
{
"what": "websocket_events",
"items": [
{
"id": "sample",
"summary": "...mode-specific payload..."
}
],
"metadata": {
"limit": 100,
"next_cursor": "cursor_123"
}
}
{
"tool": "observe",
"arguments": {
"what": "not_a_real_mode",
"last_n": 20
}
}

Fix: Use a valid observe mode value, e.g. websocket_events.

{
"tool": "observe",
"arguments": {
"what": "websocket_status"
}
}
{
"what": "websocket_status",
"items": [
{
"id": "sample",
"summary": "...mode-specific payload..."
}
],
"metadata": {
"limit": 100,
"next_cursor": "cursor_123"
}
}
{
"tool": "observe",
"arguments": {
"what": "not_a_real_mode"
}
}

Fix: Use a valid observe mode value, e.g. websocket_status.

{
"tool": "observe",
"arguments": {
"what": "actions"
}
}
{
"what": "actions",
"items": [
{
"id": "sample",
"summary": "...mode-specific payload..."
}
],
"metadata": {
"limit": 100,
"next_cursor": "cursor_123"
}
}
{
"tool": "observe",
"arguments": {
"what": "not_a_real_mode"
}
}

Fix: Use a valid observe mode value, e.g. actions.

{
"tool": "observe",
"arguments": {
"what": "vitals"
}
}
{
"what": "vitals",
"items": [
{
"id": "sample",
"summary": "...mode-specific payload..."
}
],
"metadata": {
"limit": 100,
"next_cursor": "cursor_123"
}
}
{
"tool": "observe",
"arguments": {
"what": "not_a_real_mode"
}
}

Fix: Use a valid observe mode value, e.g. vitals.

{
"tool": "observe",
"arguments": {
"what": "page"
}
}
{
"what": "page",
"items": [
{
"id": "sample",
"summary": "...mode-specific payload..."
}
],
"metadata": {
"limit": 100,
"next_cursor": "cursor_123"
}
}
{
"tool": "observe",
"arguments": {
"what": "not_a_real_mode"
}
}

Fix: Use a valid observe mode value, e.g. page.

{
"tool": "observe",
"arguments": {
"what": "tabs"
}
}
{
"what": "tabs",
"items": [
{
"id": "sample",
"summary": "...mode-specific payload..."
}
],
"metadata": {
"limit": 100,
"next_cursor": "cursor_123"
}
}
{
"tool": "observe",
"arguments": {
"what": "not_a_real_mode"
}
}

Fix: Use a valid observe mode value, e.g. tabs.

{
"tool": "observe",
"arguments": {
"what": "history"
}
}
{
"what": "history",
"items": [
{
"id": "sample",
"summary": "...mode-specific payload..."
}
],
"metadata": {
"limit": 100,
"next_cursor": "cursor_123"
}
}
{
"tool": "observe",
"arguments": {
"what": "not_a_real_mode"
}
}

Fix: Use a valid observe mode value, e.g. history.

{
"tool": "observe",
"arguments": {
"what": "pilot"
}
}
{
"what": "pilot",
"items": [
{
"id": "sample",
"summary": "...mode-specific payload..."
}
],
"metadata": {
"limit": 100,
"next_cursor": "cursor_123"
}
}
{
"tool": "observe",
"arguments": {
"what": "not_a_real_mode"
}
}

Fix: Use a valid observe mode value, e.g. pilot.

{
"tool": "observe",
"arguments": {
"what": "timeline"
}
}
{
"what": "timeline",
"items": [
{
"id": "sample",
"summary": "...mode-specific payload..."
}
],
"metadata": {
"limit": 100,
"next_cursor": "cursor_123"
}
}
{
"tool": "observe",
"arguments": {
"what": "not_a_real_mode"
}
}

Fix: Use a valid observe mode value, e.g. timeline.

{
"tool": "observe",
"arguments": {
"what": "error_bundles"
}
}
{
"what": "error_bundles",
"items": [
{
"id": "sample",
"summary": "...mode-specific payload..."
}
],
"metadata": {
"limit": 100,
"next_cursor": "cursor_123"
}
}
{
"tool": "observe",
"arguments": {
"what": "not_a_real_mode"
}
}

Fix: Use a valid observe mode value, e.g. error_bundles.

{
"tool": "observe",
"arguments": {
"what": "screenshot",
"full_page": true
}
}
{
"what": "screenshot",
"items": [
{
"id": "sample",
"summary": "...mode-specific payload..."
}
],
"metadata": {
"limit": 100,
"next_cursor": "cursor_123"
}
}
{
"tool": "observe",
"arguments": {
"what": "not_a_real_mode",
"full_page": true
}
}

Fix: Use a valid observe mode value, e.g. screenshot.

{
"tool": "observe",
"arguments": {
"what": "storage"
}
}
{
"what": "storage",
"items": [
{
"id": "sample",
"summary": "...mode-specific payload..."
}
],
"metadata": {
"limit": 100,
"next_cursor": "cursor_123"
}
}
{
"tool": "observe",
"arguments": {
"what": "not_a_real_mode"
}
}

Fix: Use a valid observe mode value, e.g. storage.

{
"tool": "observe",
"arguments": {
"what": "indexeddb"
}
}
{
"what": "indexeddb",
"items": [
{
"id": "sample",
"summary": "...mode-specific payload..."
}
],
"metadata": {
"limit": 100,
"next_cursor": "cursor_123"
}
}
{
"tool": "observe",
"arguments": {
"what": "not_a_real_mode"
}
}

Fix: Use a valid observe mode value, e.g. indexeddb.

{
"tool": "observe",
"arguments": {
"what": "command_result",
"correlation_id": "cmd_123"
}
}
{
"what": "command_result",
"items": [
{
"id": "sample",
"summary": "...mode-specific payload..."
}
],
"metadata": {
"limit": 100,
"next_cursor": "cursor_123"
}
}
{
"tool": "observe",
"arguments": {
"what": "not_a_real_mode",
"correlation_id": "cmd_123"
}
}

Fix: Use a valid observe mode value, e.g. command_result.

{
"tool": "observe",
"arguments": {
"what": "pending_commands"
}
}
{
"what": "pending_commands",
"items": [
{
"id": "sample",
"summary": "...mode-specific payload..."
}
],
"metadata": {
"limit": 100,
"next_cursor": "cursor_123"
}
}
{
"tool": "observe",
"arguments": {
"what": "not_a_real_mode"
}
}

Fix: Use a valid observe mode value, e.g. pending_commands.

{
"tool": "observe",
"arguments": {
"what": "failed_commands"
}
}
{
"what": "failed_commands",
"items": [
{
"id": "sample",
"summary": "...mode-specific payload..."
}
],
"metadata": {
"limit": 100,
"next_cursor": "cursor_123"
}
}
{
"tool": "observe",
"arguments": {
"what": "not_a_real_mode"
}
}

Fix: Use a valid observe mode value, e.g. failed_commands.

{
"tool": "observe",
"arguments": {
"what": "saved_videos"
}
}
{
"what": "saved_videos",
"items": [
{
"id": "sample",
"summary": "...mode-specific payload..."
}
],
"metadata": {
"limit": 100,
"next_cursor": "cursor_123"
}
}
{
"tool": "observe",
"arguments": {
"what": "not_a_real_mode"
}
}

Fix: Use a valid observe mode value, e.g. saved_videos.

{
"tool": "observe",
"arguments": {
"what": "recordings"
}
}
{
"what": "recordings",
"items": [
{
"id": "sample",
"summary": "...mode-specific payload..."
}
],
"metadata": {
"limit": 100,
"next_cursor": "cursor_123"
}
}
{
"tool": "observe",
"arguments": {
"what": "not_a_real_mode"
}
}

Fix: Use a valid observe mode value, e.g. recordings.

{
"tool": "observe",
"arguments": {
"what": "recording_actions",
"recording_id": "rec_123"
}
}
{
"what": "recording_actions",
"items": [
{
"id": "sample",
"summary": "...mode-specific payload..."
}
],
"metadata": {
"limit": 100,
"next_cursor": "cursor_123"
}
}
{
"tool": "observe",
"arguments": {
"what": "recording_actions",
"recording_id": 123
}
}

Fix: Use recording_id as a string like rec_123.

{
"tool": "observe",
"arguments": {
"what": "playback_results",
"recording_id": "rec_123"
}
}
{
"what": "playback_results",
"items": [
{
"id": "sample",
"summary": "...mode-specific payload..."
}
],
"metadata": {
"limit": 100,
"next_cursor": "cursor_123"
}
}
{
"tool": "observe",
"arguments": {
"what": "playback_results",
"recording_id": 123
}
}

Fix: Use recording_id as a string like rec_123.

{
"tool": "observe",
"arguments": {
"what": "log_diff_report",
"original_id": "rec_123",
"replay_id": "rec_456"
}
}
{
"what": "log_diff_report",
"items": [
{
"id": "sample",
"summary": "...mode-specific payload..."
}
],
"metadata": {
"limit": 100,
"next_cursor": "cursor_123"
}
}
{
"tool": "observe",
"arguments": {
"what": "not_a_real_mode",
"original_id": "rec_123",
"replay_id": "rec_456"
}
}

Fix: Use a valid observe mode value, e.g. log_diff_report.

{
"tool": "observe",
"arguments": {
"what": "summarized_logs"
}
}
{
"what": "summarized_logs",
"items": [
{
"id": "sample",
"summary": "...mode-specific payload..."
}
],
"metadata": {
"limit": 100,
"next_cursor": "cursor_123"
}
}
{
"tool": "observe",
"arguments": {
"what": "not_a_real_mode"
}
}

Fix: Use a valid observe mode value, e.g. summarized_logs.

{
"tool": "observe",
"arguments": {
"what": "page_inventory"
}
}
{
"what": "page_inventory",
"items": [
{
"id": "sample",
"summary": "...mode-specific payload..."
}
],
"metadata": {
"limit": 100,
"next_cursor": "cursor_123"
}
}
{
"tool": "observe",
"arguments": {
"what": "not_a_real_mode"
}
}

Fix: Use a valid observe mode value, e.g. page_inventory.

{
"tool": "observe",
"arguments": {
"what": "transients"
}
}
{
"what": "transients",
"items": [
{
"id": "sample",
"summary": "...mode-specific payload..."
}
],
"metadata": {
"limit": 100,
"next_cursor": "cursor_123"
}
}
{
"tool": "observe",
"arguments": {
"what": "not_a_real_mode"
}
}

Fix: Use a valid observe mode value, e.g. transients.

{
"tool": "observe",
"arguments": {
"what": "inbox"
}
}
{
"what": "inbox",
"items": [
{
"id": "sample",
"summary": "...mode-specific payload..."
}
],
"metadata": {
"limit": 100,
"next_cursor": "cursor_123"
}
}
{
"tool": "observe",
"arguments": {
"what": "not_a_real_mode"
}
}

Fix: Use a valid observe mode value, e.g. inbox.