{
  "openapi": "3.0.3",
  "info": {
    "title": "Owl Browser API",
    "description": "REST API for browser automation with anti-detection capabilities\n\n## API Versioning\nThe Owl Browser REST API is versioned at **v1**. The current stable path prefix is `/api/execute/{tool_name}` for tool calls and `/` for one-shot utilities (`/go`, `/search`). Endpoints are stable within a major version.\n\n## Deprecation Policy\nDeprecated endpoints are announced in the [changelog](https://owlbrowser.net/changelog/) and marked with an `x-deprecated` extension in this spec. A `Deprecation` response header (RFC 8594) and a `Sunset` header are added to deprecated endpoint responses at least 90 days before removal.\n\n## Rate Limits & Idempotency\nAll responses include `RateLimit-Limit`, `RateLimit-Remaining`, and `RateLimit-Reset` headers. Write operations support the `Idempotency-Key` header for safe retry execution.\n\n## Error Format\nAll 4xx and 5xx responses return `application/json` with the `Error` schema: `{ \"error\": { \"code\": \"...\", \"message\": \"...\", \"resolution\": \"...\" } }`.\n\n## Authentication & Scopes\nSet `Authorization: Bearer <OWL_API_KEY>` on every request. Scopes supported: `browser:read`, `browser:write`, `browser:admin`.\n\n## API Versioning\nThe Owl Browser REST API is versioned at **v1**. The current stable path prefix is `/api/execute/{tool_name}` for tool calls and `/` for one-shot utilities (`/go`, `/search`). Endpoints are stable within a major version.\n\n## Deprecation Policy\nDeprecated endpoints are announced in the [changelog](https://owlbrowser.net/changelog/) and marked with an `x-deprecated` extension in this spec. A `Deprecation` response header (RFC 8594) and a `Sunset` header are added to deprecated endpoint responses at least 90 days before removal.\n\n## Rate Limits & Idempotency\nAll responses include `RateLimit-Limit`, `RateLimit-Remaining`, and `RateLimit-Reset` headers. Write operations support the `Idempotency-Key` header for safe retry execution.\n\n## Error Format\nAll 4xx and 5xx responses return `application/json` with the `Error` schema: `{ \"error\": { \"code\": \"...\", \"message\": \"...\", \"resolution\": \"...\" } }`.\n\n## Authentication & Scopes\nSet `Authorization: Bearer <OWL_API_KEY>` on every request. Scopes supported: `browser:read`, `browser:write`, `browser:admin`.\n\n## API Versioning\nThe Owl Browser REST API is versioned at **v1**. The current stable path prefix is `/api/execute/{tool_name}` for tool calls and `/` for one-shot utilities (`/go`, `/search`). Endpoints are stable within a major version.\n\n## Deprecation Policy\nDeprecated endpoints are announced in the [changelog](https://owlbrowser.net/changelog/) and marked with an `x-deprecated` extension in this spec. A `Deprecation` response header (RFC 8594) and a `Sunset` header are added to deprecated endpoint responses at least 90 days before removal.\n\n## Rate Limits & Idempotency\nAll responses include `RateLimit-Limit`, `RateLimit-Remaining`, and `RateLimit-Reset` headers. Write operations support the `Idempotency-Key` header for safe retry execution.\n\n## Error Format\nAll 4xx and 5xx responses return `application/json` with the `Error` schema: `{ \"error\": { \"code\": \"...\", \"message\": \"...\", \"resolution\": \"...\" } }`.\n\n## Authentication & Scopes\nSet `Authorization: Bearer <OWL_API_KEY>` on every request. Scopes supported: `browser:read`, `browser:write`, `browser:admin`.\n\n## API Versioning\nThe Owl Browser REST API is versioned at **v1**. The current stable path prefix is `/api/execute/{tool_name}` for tool calls and `/` for one-shot utilities (`/go`, `/search`). Endpoints are stable within a major version.\n\n## Deprecation Policy\nDeprecated endpoints are announced in the [changelog](https://owlbrowser.net/changelog/) and marked with an `x-deprecated` extension in this spec. A `Deprecation` response header (RFC 8594) and a `Sunset` header are added to deprecated endpoint responses at least 90 days before removal.\n\n## Rate Limits & Idempotency\nAll responses include `RateLimit-Limit`, `RateLimit-Remaining`, and `RateLimit-Reset` headers. Write operations support the `Idempotency-Key` header for safe retry execution.\n\n## Error Format\nAll 4xx and 5xx responses return `application/json` with the `Error` schema: `{ \"error\": { \"code\": \"...\", \"message\": \"...\", \"resolution\": \"...\" } }`.\n\n## Authentication & Scopes\nSet `Authorization: Bearer <OWL_API_KEY>` on every request. Scopes supported: `browser:read`, `browser:write`, `browser:admin`.\n\n## API Versioning\nThe Owl Browser REST API is versioned at **v1**. The current stable path prefix is `/api/execute/{tool_name}` for tool calls and `/` for one-shot utilities (`/go`, `/search`). Endpoints are stable within a major version.\n\n## Deprecation Policy\nDeprecated endpoints are announced in the [changelog](https://owlbrowser.net/changelog/) and marked with an `x-deprecated` extension in this spec. A `Deprecation` response header (RFC 8594) and a `Sunset` header are added to deprecated endpoint responses at least 90 days before removal.\n\n## Rate Limits & Idempotency\nAll responses include `RateLimit-Limit`, `RateLimit-Remaining`, and `RateLimit-Reset` headers. Write operations support the `Idempotency-Key` header for safe retry execution.\n\n## Error Format\nAll 4xx and 5xx responses return `application/json` with the `Error` schema: `{ \"error\": { \"code\": \"...\", \"message\": \"...\", \"resolution\": \"...\" } }`.\n\n## Authentication & Scopes\nSet `Authorization: Bearer <OWL_API_KEY>` on every request. Scopes supported: `browser:read`, `browser:write`, `browser:admin`.\n\n## API Versioning\nThe Owl Browser REST API is versioned at **v1**. The current stable path prefix is `/api/execute/{tool_name}` for tool calls and `/` for one-shot utilities (`/go`, `/search`). Endpoints are stable within a major version.\n\n## Deprecation Policy\nDeprecated endpoints are announced in the [changelog](https://owlbrowser.net/changelog/) and marked with an `x-deprecated` extension in this spec. A `Deprecation` response header (RFC 8594) and a `Sunset` header are added to deprecated endpoint responses at least 90 days before removal.\n\n## Rate Limits & Idempotency\nAll responses include `RateLimit-Limit`, `RateLimit-Remaining`, and `RateLimit-Reset` headers. Write operations support the `Idempotency-Key` header for safe retry execution.\n\n## Error Format\nAll 4xx and 5xx responses return `application/json` with the `Error` schema: `{ \"error\": { \"code\": \"...\", \"message\": \"...\", \"resolution\": \"...\" } }`.\n\n## Authentication & Scopes\nSet `Authorization: Bearer <OWL_API_KEY>` on every request. Scopes supported: `browser:read`, `browser:write`, `browser:admin`.\n\n## API Versioning\nThe Owl Browser REST API is versioned at **v1**. The current stable path prefix is `/api/execute/{tool_name}` for tool calls and `/` for one-shot utilities (`/go`, `/search`). Endpoints are stable within a major version.\n\n## Deprecation Policy\nDeprecated endpoints are announced in the [changelog](https://owlbrowser.net/changelog/) and marked with an `x-deprecated` extension in this spec. A `Deprecation` response header (RFC 8594) and a `Sunset` header are added to deprecated endpoint responses at least 90 days before removal.\n\n## Rate Limits & Idempotency\nAll responses include `RateLimit-Limit`, `RateLimit-Remaining`, and `RateLimit-Reset` headers. Write operations support the `Idempotency-Key` header for safe retry execution.\n\n## Error Format\nAll 4xx and 5xx responses return `application/json` with the `Error` schema: `{ \"error\": { \"code\": \"...\", \"message\": \"...\", \"resolution\": \"...\" } }`.\n\n## Authentication & Scopes\nSet `Authorization: Bearer <OWL_API_KEY>` on every request. Scopes supported: `browser:read`, `browser:write`, `browser:admin`.\n\n## API Versioning\nThe Owl Browser REST API is versioned at **v1**. The current stable path prefix is `/api/execute/{tool_name}` for tool calls and `/` for one-shot utilities (`/go`, `/search`). Endpoints are stable within a major version.\n\n## Deprecation Policy\nDeprecated endpoints are announced in the [changelog](https://owlbrowser.net/changelog/) and marked with an `x-deprecated` extension in this spec. A `Deprecation` response header (RFC 8594) and a `Sunset` header are added to deprecated endpoint responses at least 90 days before removal.\n\n## Rate Limits & Idempotency\nAll responses include `RateLimit-Limit`, `RateLimit-Remaining`, and `RateLimit-Reset` headers. Write operations support the `Idempotency-Key` header for safe retry execution.\n\n## Error Format\nAll 4xx and 5xx responses return `application/json` with the `Error` schema: `{ \"error\": { \"code\": \"...\", \"message\": \"...\", \"resolution\": \"...\" } }`.\n\n## Authentication & Scopes\nSet `Authorization: Bearer <OWL_API_KEY>` on every request. Scopes supported: `browser:read`, `browser:write`, `browser:admin`.\n\n## API Versioning\nThe Owl Browser REST API is versioned at **v1**. The current stable path prefix is `/api/execute/{tool_name}` for tool calls and `/` for one-shot utilities (`/go`, `/search`). Endpoints are stable within a major version.\n\n## Deprecation Policy\nDeprecated endpoints are announced in the [changelog](https://owlbrowser.net/changelog/) and marked with an `x-deprecated` extension in this spec. A `Deprecation` response header (RFC 8594) and a `Sunset` header are added to deprecated endpoint responses at least 90 days before removal.\n\n## Rate Limits & Idempotency\nAll responses include `RateLimit-Limit`, `RateLimit-Remaining`, and `RateLimit-Reset` headers. Write operations support the `Idempotency-Key` header for safe retry execution.\n\n## Error Format\nAll 4xx and 5xx responses return `application/json` with the `Error` schema: `{ \"error\": { \"code\": \"...\", \"message\": \"...\", \"resolution\": \"...\" } }`.\n\n## Authentication & Scopes\nSet `Authorization: Bearer <OWL_API_KEY>` on every request. Scopes supported: `browser:read`, `browser:write`, `browser:admin`.\n\n## API Versioning\nThe Owl Browser REST API is versioned at **v1**. The current stable path prefix is `/api/execute/{tool_name}` for tool calls and `/` for one-shot utilities (`/go`, `/search`). Endpoints are stable within a major version.\n\n## Deprecation Policy\nDeprecated endpoints are announced in the [changelog](https://owlbrowser.net/changelog/) and marked with an `x-deprecated` extension in this spec. A `Deprecation` response header (RFC 8594) and a `Sunset` header are added to deprecated endpoint responses at least 90 days before removal.\n\n## Rate Limits & Idempotency\nAll responses include `RateLimit-Limit`, `RateLimit-Remaining`, and `RateLimit-Reset` headers. Write operations support the `Idempotency-Key` header for safe retry execution.\n\n## Error Format\nAll 4xx and 5xx responses return `application/json` with the `Error` schema: `{ \"error\": { \"code\": \"...\", \"message\": \"...\", \"resolution\": \"...\" } }`.\n\n## Authentication & Scopes\nSet `Authorization: Bearer <OWL_API_KEY>` on every request. Scopes supported: `browser:read`, `browser:write`, `browser:admin`.",
    "version": "1.4.1"
  },
  "servers": [
    {
      "url": "http://localhost:9222",
      "description": "Local self-hosted Owl Browser instance (default port)."
    },
    {
      "url": "https://sandbox.owlbrowser.net",
      "description": "Evaluation Sandbox Environment for testing and prototyping without touching production."
    },
    {
      "url": "http://{host}:{port}",
      "description": "Custom self-hosted Owl Browser instance.",
      "variables": {
        "host": {
          "default": "localhost",
          "description": "Hostname or IP of the Owl Browser server."
        },
        "port": {
          "default": "9222",
          "description": "Port the Owl Browser HTTP server listens on."
        }
      }
    }
  ],
  "security": [
    {
      "BearerAuth": []
    },
    {
      "OAuth2": [
        "browser:read",
        "browser:write"
      ]
    }
  ],
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer"
      },
      "OAuth2": {
        "type": "oauth2",
        "description": "OAuth 2.0 with scoped permissions for AI agents.",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "https://owlbrowser.net/api/v1/auth/token",
            "scopes": {
              "browser:read": "Read-only access to browser observations, page maps, and session status.",
              "browser:write": "Action execution including navigation, clicks, keystrokes, and CAPTCHA solving.",
              "browser:admin": "Context creation, profile management, and hardware fingerprint modification."
            }
          }
        }
      },
      "BearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "API Key",
        "description": "Bearer token authentication via OWL_API_KEY environment variable."
      }
    },
    "schemas": {
      "Error": {
        "type": "object",
        "description": "Standard error envelope returned on 4xx and 5xx responses.",
        "required": [
          "error"
        ],
        "properties": {
          "error": {
            "type": "object",
            "required": [
              "code",
              "message"
            ],
            "properties": {
              "code": {
                "type": "string",
                "description": "Machine-readable error code. Examples: CONTEXT_NOT_FOUND, INVALID_SELECTOR, CAPTCHA_TIMEOUT, RATE_LIMITED, UNAUTHORIZED, INTERNAL_ERROR."
              },
              "message": {
                "type": "string",
                "description": "Human-readable description of what went wrong."
              },
              "resolution": {
                "type": "string",
                "description": "Optional hint describing how to resolve the error."
              }
            }
          }
        },
        "example": {
          "error": {
            "code": "CONTEXT_NOT_FOUND",
            "message": "No context with id 'abc123' exists.",
            "resolution": "Call browser_create_context first and use the returned context_id."
          }
        }
      },
      "ToolResult": {
        "type": "object",
        "description": "Standard response envelope returned by Owl Browser tool endpoints. The result field type varies by tool.",
        "properties": {
          "result": {
            "description": "Tool-specific result payload. May be a string, object, array, or null depending on the tool.",
            "nullable": true
          },
          "context_id": {
            "type": "string",
            "description": "The browser context ID associated with this call, if applicable.",
            "nullable": true
          },
          "error": {
            "type": "string",
            "description": "Non-null only on partial failures where an HTTP 200 is still returned.",
            "nullable": true
          },
          "metadata": {
            "type": "object",
            "description": "Optional metadata about the tool execution (timing, token counts, etc.).",
            "nullable": true,
            "additionalProperties": true
          }
        },
        "example": {
          "result": "https://example.com",
          "context_id": "ctx_abc123",
          "error": null
        }
      },
      "AsyncJob": {
        "type": "object",
        "description": "Asynchronous job descriptor returned for long-running operations.",
        "required": [
          "job_id",
          "status",
          "status_url"
        ],
        "properties": {
          "job_id": {
            "type": "string",
            "description": "Unique job identifier for tracking.",
            "example": "job_8f7e6d5c"
          },
          "status": {
            "type": "string",
            "enum": [
              "pending",
              "running",
              "completed",
              "failed"
            ],
            "description": "Current execution status of the asynchronous task.",
            "example": "pending"
          },
          "status_url": {
            "type": "string",
            "description": "Endpoint URL to poll for job completion and results.",
            "example": "/api/v1/jobs/job_8f7e6d5c"
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "description": "ISO-8601 timestamp when the job was accepted."
          }
        }
      },
      "BatchRequest": {
        "type": "object",
        "description": "Batch execution request carrying multiple browser operations.",
        "required": [
          "operations"
        ],
        "properties": {
          "context_id": {
            "type": "string",
            "description": "Browser context ID to execute operations within.",
            "example": "ctx_abc123"
          },
          "operations": {
            "type": "array",
            "description": "Ordered list of operations to execute in bulk.",
            "items": {
              "type": "object",
              "required": [
                "action"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "example": "browser_navigate"
                },
                "parameters": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        }
      },
      "BatchResponse": {
        "type": "object",
        "description": "Batch execution response with aggregated results for each operation.",
        "required": [
          "results"
        ],
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "action": {
                  "type": "string"
                },
                "status": {
                  "type": "string",
                  "enum": [
                    "success",
                    "error"
                  ]
                },
                "result": {
                  "nullable": true
                },
                "error": {
                  "nullable": true
                }
              }
            }
          }
        }
      }
    }
  },
  "paths": {
    "/go": {
      "get": {
        "summary": "Browser Go",
        "description": "Ephemeral single-request fetcher that spins up an isolated session, loads a URI, and extracts rendered content. Accessible through both POST JSON payloads and GET query strings, the endpoint provisions a temporary Chromium instance configured with platform-matched hardware fingerprints. When requested, outbound traffic traverses an onion circuit with an exclusive exit node for IP anonymity. After the main frame satisfies the specified readiness condition—initial window load, parsed DOM tree, quiet transport sockets, or a top-to-bottom lazy-load scroll pass—the renderer serializes the view. Supported output modes include raw HTML markup, visible plaintext, structured Markdown, a viewport PNG capture, or a stitched full-document raster image. Once the payload is assembled or if the millisecond timer expires, the temporary workspace, storage tables, and sockets are torn down immediately so high-volume scraping pipelines never leak host memory.",
        "tags": [
          "Navigation"
        ],
        "parameters": [
          {
            "name": "url",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Destination web address including scheme such as https, http, file, or inline data URI."
          },
          {
            "name": "wait_until",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "",
                "load",
                "domcontentloaded",
                "networkidle",
                "fullscroll"
              ]
            },
            "description": "Readiness barrier before extraction: load event, domcontentloaded, networkidle quiescence, or fullscroll pass."
          },
          {
            "name": "timeout",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "description": "Maximum duration in milliseconds allowed for page loading before aborting the fetch operation."
          },
          {
            "name": "output",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "html",
                "text",
                "markdown",
                "pngView",
                "pngFull"
              ]
            },
            "description": "Desired response representation: raw html, plain text, converted markdown, pngView, or stitched pngFull."
          },
          {
            "name": "os",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "windows",
                "macos",
                "linux"
              ]
            },
            "description": "Host platform filter for selecting hardware fingerprint signatures: windows, macos, or linux."
          },
          {
            "name": "use_tor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean"
            },
            "description": "Boolean flag routing traffic through an anonymous onion circuit with a dedicated exit node."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserGo"
      }
    },
    "/api/execute/browser_create_context": {
      "post": {
        "summary": "Browser Create Context",
        "description": "Provisions an isolated workspace with dedicated storage partitions, hardware fingerprint spoofing, and custom routing. During startup, the controller selects a virtual machine persona matching requested operating system, graphics vendor, monitor resolution, and Chromium milestone filters, or hydrates state from an encrypted archive. BCP-47 language tags, Accept-Language headers, and IANA timezones synchronize across JavaScript getters and HTTP layers to prevent cross-layer leak detection. Outbound connections support HTTP, SOCKS, residential QUIC tunnels, and onion circuits with automatic Newnym rotation, custom CA pinning, and RFC 9421 Ed25519 request signatures. Rendering pipelines can run in standard pixel mode, lightweight accessibility tree mode for autonomous agents, or dual output. Callers can also bind local or remote language models alongside a System One classifier, receiving a unique string handle for all subsequent commands.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "profile_path": {
                    "type": "string",
                    "description": "Filesystem path to an existing plain or encrypted persona JSON archive for state hydration."
                  },
                  "os": {
                    "type": "string",
                    "description": "Target operating system constraint when sampling hardware fingerprints: windows, macos, or linux.",
                    "enum": [
                      "windows",
                      "macos",
                      "linux"
                    ]
                  },
                  "gpu": {
                    "type": "string",
                    "description": "Graphics adapter vendor filter such as nvidia, amd, or intel for WebGL spoofing."
                  },
                  "screen_size": {
                    "type": "string",
                    "description": "Monitor dimensions formatted as WIDTHxHEIGHT, chosen from catalog presets if omitted.",
                    "enum": [
                      "1920x1080",
                      "2560x1440",
                      "3440x1440",
                      "3840x2160",
                      "3840x1600",
                      "5120x2160",
                      "5120x1440"
                    ]
                  },
                  "timezone": {
                    "type": "string",
                    "description": "Explicit IANA time zone identifier overriding automatic geolocation and persona defaults."
                  },
                  "locale": {
                    "type": "string",
                    "description": "BCP-47 language tag synchronizing navigator properties and outbound Accept-Language headers."
                  },
                  "resource_blocking": {
                    "type": "boolean",
                    "description": "Toggle blocking of known advertising, tracking, and telemetry domains at the request layer."
                  },
                  "agent_signature": {
                    "type": "boolean",
                    "description": "Enable RFC 9421 Ed25519 cryptographic signing on outgoing HTTP messages for bot authentication."
                  },
                  "render_mode": {
                    "type": "string",
                    "description": "Graphics pipeline selection: pixel for rasterization, agent for accessibility trees, or both simultaneously.",
                    "enum": [
                      "pixel",
                      "agent",
                      "both"
                    ]
                  },
                  "device_scale_factor": {
                    "type": "number",
                    "description": "Display pixel ratio hint validated between one and three against the active persona."
                  },
                  "chrome_version_id": {
                    "type": "string",
                    "description": "Database row identifier pinning a specific Chromium build, taking precedence over major number."
                  },
                  "chrome_version_major": {
                    "type": "string",
                    "description": "Chromium milestone string from 143 through 156 used to select matching user-agent metadata.",
                    "enum": [
                      "143",
                      "144",
                      "145",
                      "146",
                      "147",
                      "148",
                      "149",
                      "150",
                      "151",
                      "152",
                      "153",
                      "154",
                      "155",
                      "156"
                    ]
                  },
                  "proxy_type": {
                    "type": "string",
                    "description": "Outbound transport protocol: http, https, socks4, socks5, socks5h, gae, or residential owl_tunnel.",
                    "enum": [
                      "http",
                      "https",
                      "socks4",
                      "socks5",
                      "socks5h",
                      "gae",
                      "owl_tunnel"
                    ]
                  },
                  "proxy_id": {
                    "type": "string",
                    "description": "Thirty-two character hexadecimal identifier selecting a paired residential QUIC sidecar when tunneling."
                  },
                  "proxy_host": {
                    "type": "string",
                    "description": "Hostname or numeric IPv4/IPv6 address of the upstream forwarding gateway server."
                  },
                  "proxy_port": {
                    "type": "string",
                    "description": "TCP port number where the upstream gateway or local onion daemon listens."
                  },
                  "proxy_username": {
                    "type": "string",
                    "description": "Authentication principal supplied when the upstream forwarding gateway requires user credentials."
                  },
                  "proxy_password": {
                    "type": "string",
                    "description": "Secret passphrase paired with the username for authenticated gateway handshakes."
                  },
                  "proxy_spoof_timezone": {
                    "type": "boolean",
                    "description": "Automatically align JavaScript clock offsets with the geographical location of the exit IP."
                  },
                  "proxy_timezone_override": {
                    "type": "string",
                    "description": "Manual IANA zone string applied specifically to gateway-routed sessions when overriding auto-detection."
                  },
                  "proxy_ca_cert_path": {
                    "type": "string",
                    "description": "Local path to a PEM or CRT root certificate for TLS interception tools."
                  },
                  "proxy_ca_key_path": {
                    "type": "string",
                    "description": "Private key file required to mint per-domain certificates during GAE interception."
                  },
                  "proxy_trust_custom_ca": {
                    "type": "boolean",
                    "description": "Instruct the TLS verifier to accept custom root authorities during traffic inspection."
                  },
                  "is_tor": {
                    "type": "boolean",
                    "description": "Mark the upstream gateway as an onion router to enforce per-session circuit isolation."
                  },
                  "tor_control_port": {
                    "type": "string",
                    "description": "Control port used to dispatch SIGNAL NEWNYM commands for fresh exit nodes."
                  },
                  "tor_control_password": {
                    "type": "string",
                    "description": "Secret token authenticating with the onion control port when cookie auth is disabled."
                  },
                  "llm_enabled": {
                    "type": "boolean",
                    "description": "Activate built-in or external language model capabilities for semantic querying and summarization."
                  },
                  "llm_use_builtin": {
                    "type": "boolean",
                    "description": "Run inference on the bundled local llama server rather than a remote provider."
                  },
                  "llm_endpoint": {
                    "type": "string",
                    "description": "Base URL for an external OpenAI-compatible inference server when local execution is disabled."
                  },
                  "llm_model": {
                    "type": "string",
                    "description": "Identifier of the remote neural model invoked for generative tasks and vision analysis."
                  },
                  "llm_api_key": {
                    "type": "string",
                    "description": "Bearer token authenticating requests sent to the configured external inference provider."
                  },
                  "llm_is_third_party": {
                    "type": "boolean",
                    "description": "Flag indicating the remote inference server follows third-party OpenAI protocol conventions."
                  },
                  "sys1_endpoint": {
                    "type": "string",
                    "description": "HTTP address of a fast System One classifier for step-by-step action selection."
                  },
                  "sys1_model": {
                    "type": "string",
                    "description": "Model identifier forwarded to the System One decision service when multiple weights exist."
                  },
                  "sys1_api_key": {
                    "type": "string",
                    "description": "Authorization secret included in headers when querying a protected System One service."
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "202": {
            "description": "Operation accepted for asynchronous processing.",
            "headers": {
              "Location": {
                "description": "URL to poll for job status.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AsyncJob"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserCreateContext",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_search": {
      "post": {
        "summary": "Browser Search",
        "description": "Executes a stateless web query on Google or DuckDuckGo and returns structured organic listings as a JSON array. Upon invocation, the backend initializes a temporary session bearing realistic desktop fingerprints matched to the requested OS and optional onion routing. The handler builds the search URL with pagination offsets—multiplying zero-based page indices by ten for result slicing—and dispatches a main-frame GET request. Once the results document finishes rendering, an internal extractor walks the DOM hierarchy to harvest result titles, target hrefs, and text snippets while stripping sponsored blocks and layout chrome. Immediately after serializing the structured list, the temporary environment is torn down to release RAM and file descriptors. Should upstream rate limits, CAPTCHA walls, or socket timeouts interrupt retrieval, a descriptive error object is returned without leaving orphaned processes.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "query": {
                    "type": "string",
                    "description": "Plaintext keywords or boolean search expression submitted to the selected web index."
                  },
                  "provider": {
                    "type": "string",
                    "description": "Target search engine backend: duckduckgo for lightweight HTML or google for standard results.",
                    "enum": [
                      "duckduckgo",
                      "google"
                    ]
                  },
                  "page": {
                    "type": "string",
                    "description": "One-based pagination index calculating the ten-item offset parameter appended to the request."
                  },
                  "os": {
                    "type": "string",
                    "description": "Operating system persona applied to the temporary session: windows, macos, or linux.",
                    "enum": [
                      "windows",
                      "macos",
                      "linux"
                    ]
                  },
                  "use_tor": {
                    "type": "boolean",
                    "description": "Route the search request through an onion circuit to mask the origin IP address."
                  }
                },
                "required": [
                  "query"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserSearch",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_close_context": {
      "post": {
        "summary": "Browser Close Context",
        "description": "Terminates a specific workspace handle and reclaims all memory, file descriptors, sockets, and disk caches bound to it. When invoked, the host controller aborts in-flight HTTP transfers, cancels pending JavaScript timers or promise waits, and detaches the renderer process from the CEF manager. Volatile session data—including in-memory cookies, IndexedDB stores, WebStorage entries, TLS session tickets, and dedicated onion circuits—is permanently purged unless exported beforehand via profile persistence endpoints. Explicitly closing finished workspaces prevents memory bloat and keeps active instance counts well below server concurrency limits during continuous automation workloads. The returned JSON payload confirms teardown completion and echoes the released handle; supplying an unknown or previously closed identifier yields a clean lookup error without side effects.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Unique session handle identifying the active workspace to terminate and deallocate."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserCloseContext",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_list_contexts": {
      "post": {
        "summary": "Browser List Contexts",
        "description": "Returns a real-time inventory of all active workspaces currently managed by the host daemon along with session metadata. The internal registry is inspected directly in host memory without pausing ongoing page renders, script execution, or pending input actions across open instances. For each live workspace, the response array reports its unique string identifier, initialization timestamp, currently loaded document URL, readiness state, and configured rendering pipeline mode. Fleet orchestrators and watchdog tasks query this endpoint to monitor pool utilization, identify stalled or leaked sessions, and reconcile client state after service restarts. Because metadata collection avoids cross-process IPC round-trips to individual Blink renderer threads, queries finish in sub-millisecond time even under heavy load.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserListContexts",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_close_all_contexts": {
      "post": {
        "summary": "Browser Close All Contexts",
        "description": "Performs an immediate bulk teardown of every active workspace in the server pool, resetting host resources to baseline. The daemon iterates through all registered handles, forcibly aborting active navigations, dismissing open modal prompts, closing WebSocket streams, and killing child renderer processes. All volatile storage partitions, credential caches, and residential tunnel bindings are wiped at once, returning system RAM and kernel descriptors to the operating system. Built for emergency recovery when runaway scripts exhaust concurrency quotas or leave unreferenced sessions behind, the endpoint returns the integer count of reclaimed workspaces. Because this command unconditionally terminates parallel tasks across all clients sharing the daemon, reserve it for global cleanup or test suite teardown.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserCloseAllContexts",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_navigate": {
      "post": {
        "summary": "Browser Navigate",
        "description": "Directs an active workspace to load a target URL with configurable lifecycle synchronization and WebMCP tool discovery. When called without a wait condition, the command hands the main-frame load request to the Blink navigation controller and returns immediately for non-blocking execution. Supplying a synchronization barrier blocks the response until the document fires DOMContentLoaded, finishes subresource loading, reaches connection quiescence, or completes an automated scroll pass to trigger lazy intersection observers. Supported protocols include HTTP, HTTPS, local file paths, and inline base64 or plaintext data URIs. After any synchronous load completes, the engine inspects the page for declarative WebMCP manifests and embeds discovered tool schemas in a webmcp_tools array for direct invocation.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Active workspace identifier where the main-frame navigation request will be executed."
                  },
                  "url": {
                    "type": "string",
                    "description": "Target resource address using http, https, file, or data protocol schemes."
                  },
                  "wait_until": {
                    "type": "string",
                    "description": "Optional synchronization stage: empty for immediate return, load, domcontentloaded, networkidle, or fullscroll.",
                    "enum": [
                      "",
                      "load",
                      "domcontentloaded",
                      "networkidle",
                      "fullscroll"
                    ]
                  },
                  "timeout": {
                    "type": "string",
                    "description": "Millisecond deadline enforced when waiting for the chosen synchronization barrier to complete."
                  }
                },
                "required": [
                  "context_id",
                  "url"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "202": {
            "description": "Operation accepted for asynchronous processing.",
            "headers": {
              "Location": {
                "description": "URL to poll for job status.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AsyncJob"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserNavigate",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_reload": {
      "post": {
        "summary": "Browser Reload",
        "description": "Refreshes the current document in an active workspace, optionally bypassing local HTTP caches for full origin revalidation. In normal operation, the engine re-requests the active URL while honoring cached assets, ETag validators, and Last-Modified headers stored in the session partition. Setting the cache-bypass flag emulates a hard refresh, injecting Pragma and Cache-Control no-cache headers while flushing decoded image and script buffers so every subresource is fetched fresh from origin servers. Callers can block until DOM parsing completes, the window load event fires, active sockets go idle, or a full-page scroll pass hydrates deferred elements. If the refresh does not satisfy the target readiness condition within the configured timeout, execution aborts with a timeout error.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Handle of the workspace whose current document should be refreshed."
                  },
                  "ignore_cache": {
                    "type": "boolean",
                    "description": "When true, bypasses local disk and memory caches to fetch all assets fresh."
                  },
                  "wait_until": {
                    "type": "string",
                    "description": "Refresh completion gate: load (default), domcontentloaded, networkidle quietude, or fullscroll lazy trigger.",
                    "enum": [
                      "",
                      "load",
                      "domcontentloaded",
                      "networkidle",
                      "fullscroll"
                    ]
                  },
                  "timeout": {
                    "type": "string",
                    "description": "Maximum time in milliseconds to wait for the refresh lifecycle barrier."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserReload",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_go_back": {
      "post": {
        "summary": "Browser Go Back",
        "description": "Steps backward one entry in the workspace history stack, restoring the prior document or firing a popstate transition. For multi-page navigations, Chromium loads the preceding history item, restoring scroll coordinates and form state from the back-forward cache when eligible, or re-fetching the resource. In single-page applications built on the History API, stepping back dispatches a synchronous popstate event on the window object so client-side routers can reconcile views without a document reload. The call blocks until the chosen post-traversal milestone—window load, DOMContentLoaded, idle connections, or full-height scroll—completes within the millisecond deadline. When the history cursor already sits at the initial entry, the command returns immediately as a safe no-op without throwing an error.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Workspace handle whose navigation history cursor will move one step backward."
                  },
                  "wait_until": {
                    "type": "string",
                    "description": "Post-rollback readiness milestone: window load, domcontentloaded, networkidle, or fullscroll pass.",
                    "enum": [
                      "",
                      "load",
                      "domcontentloaded",
                      "networkidle",
                      "fullscroll"
                    ]
                  },
                  "timeout": {
                    "type": "string",
                    "description": "Time limit in milliseconds for the backward navigation to reach readiness."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserGoBack",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_go_forward": {
      "post": {
        "summary": "Browser Go Forward",
        "description": "Advances one entry forward in the workspace history stack after a prior rollback, restoring the next document or route. Upon invocation, the navigation controller increments the history cursor and either thaws a frozen page snapshot from the back-forward memory cache or triggers a fresh network load. For single-page applications managing URL state via pushState or replaceState, advancing emits a window popstate notification so frontend frameworks update their component hierarchies. Execution awaits the specified readiness gate—load event, parsed DOM tree, quiet transport channels, or top-to-bottom scroll—before returning control to the caller. If no forward history entries exist ahead of the current index, the operation completes immediately as a harmless no-op without altering the page.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Workspace handle where forward history traversal will be executed."
                  },
                  "wait_until": {
                    "type": "string",
                    "description": "Target readiness gate after advancing: load, domcontentloaded, idle sockets via networkidle, or fullscroll.",
                    "enum": [
                      "",
                      "load",
                      "domcontentloaded",
                      "networkidle",
                      "fullscroll"
                    ]
                  },
                  "timeout": {
                    "type": "string",
                    "description": "Maximum wait duration in milliseconds before timing out the forward transition."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserGoForward",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_can_go_back": {
      "post": {
        "summary": "Browser Can Go Back",
        "description": "Queries the navigation controller of an active workspace to check whether a prior entry exists in the history stack. The engine inspects the internal back-forward list index maintained by the main frame without mutating document state, firing DOM events, or generating network traffic. A boolean true result confirms that at least one previous page load or pushState transition sits behind the current cursor position, guaranteeing that a backward traversal call will change the active view. Conversely, false indicates the session rests at its initial landing page or fresh about:blank state. Automated crawlers invoke this fast read-only check before stepping back to avoid unnecessary waits and detect the root of a navigation trail.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Workspace identifier whose backward history availability is being queried."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserCanGoBack",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_can_go_forward": {
      "post": {
        "summary": "Browser Can Go Forward",
        "description": "Checks the main-frame history ledger of a workspace to verify whether a forward navigation entry exists ahead of the cursor. This non-mutating query reads the internal Chromium navigation controller index in constant time without disturbing running scripts, timers, or layout geometry. The response payload returns boolean true exclusively when the session has previously stepped backward and has not pruned the forward branch via a new navigation. Whenever the history cursor already sits at the latest visited entry, the check returns false. Stateful web agents rely on this predicate to walk multi-step history trees deterministically and confirm forward availability before issuing traversal commands.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Target workspace handle to inspect for available forward history entries."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserCanGoForward",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_set_content": {
      "post": {
        "summary": "Browser Set Content",
        "description": "Injects caller-supplied HTML markup directly into the main frame, replacing the active document without an origin fetch. The renderer resets the main document URL to about:blank, feeds the provided full document or fragment string into the Blink HTML parser, and builds a fresh DOM tree in memory. Inline style blocks, synchronous script tags, and embedded data-URI images execute and compute layout immediately within the workspace security context. Any external assets referenced via absolute URLs—such as remote stylesheets, web fonts, or tracking pixels—are still fetched through the configured transport layer and resource filter. Engineers use this capability to render dynamic report templates, capture screenshots of synthesized UI snippets, or test client scripts in isolation.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Workspace handle where the current document will be replaced with custom markup."
                  },
                  "html": {
                    "type": "string",
                    "description": "Complete HTML document or fragment string injected into the main frame."
                  }
                },
                "required": [
                  "context_id",
                  "html"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserSetContent",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_click": {
      "post": {
        "summary": "Browser Click",
        "description": "Synthesizes a hardware-accurate primary mouse press and release on a target UI control with optional hold duration. Targets can be resolved using an OwlMark token from page observation, a CSS query with optional nth-match indexing, viewport XxY coordinates, or a natural-language label. Before emitting input, the engine scrolls the target into view, computes an unobstructed hit point inside its border box quads, and glides the virtual cursor along a curved trajectory. It then dispatches the complete W3C pointer and mouse event sequence—pointerdown, mousedown, focus acquisition, pointerup, mouseup, and click—through the Chromium input router. Specifying a non-zero hold time delays the release phase for long-press menus, while verification tiers audit resulting DOM or focus changes.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Workspace handle where the primary pointer press interaction will execute."
                  },
                  "selector": {
                    "type": "string",
                    "description": "Click target via OwlMark handle, CSS query with optional nth index, XxY coordinates, or semantic label."
                  },
                  "hold_ms": {
                    "type": "string",
                    "description": "Milliseconds to keep the primary mouse button depressed before emitting the release event."
                  },
                  "verification_level": {
                    "type": "string",
                    "description": "Post-click audit depth confirming effect: none, basic, standard, or strict."
                  }
                },
                "required": [
                  "context_id",
                  "selector"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserClick",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_type": {
      "post": {
        "summary": "Browser Type",
        "description": "Types a character string into an editable field by emitting realistic keydown, keypress, textInput, input, and keyup events. The target field can be addressed by OwlMark handle, CSS expression, pixel coordinates, or semantic description; omitting the locator sends keystrokes directly to document.activeElement. When a locator is provided, the engine focuses the control first and places the caret at the end of any existing text without clearing prior content. Each character travels through the native input method editor pipeline with human-like inter-key timing variance so React, Vue, and Angular state hooks receive authentic InputEvent objects. Once typing finishes, the selected verification tier checks that the field value or textContent reflects the newly appended characters.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Workspace handle containing the text field to receive simulated keystrokes."
                  },
                  "selector": {
                    "type": "string",
                    "description": "Input target using OwlMark token, CSS locator, pixel coordinates, or phrase; omit for activeElement."
                  },
                  "text": {
                    "type": "string",
                    "description": "Character string appended to the field using realistic per-key timing intervals."
                  },
                  "verification_level": {
                    "type": "string",
                    "description": "Validation strictness checking that the field absorbed the typed characters: none through strict."
                  }
                },
                "required": [
                  "context_id",
                  "text"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserType",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_pick": {
      "post": {
        "summary": "Browser Pick",
        "description": "Selects a matching option from either a native HTML select element or a custom JavaScript combobox widget. After locating the control via OwlMark handle, CSS expression, viewport coordinates, or natural-language label, the engine inspects its tag name and ARIA role attributes to choose the selection strategy. For standard HTML select nodes, it matches the requested string against option value attributes or visible text, updates selectedIndex, and dispatches native input and change events. For composite framework dropdowns such as Select2 or React-Select, the handler clicks the trigger to open the floating menu, locates the matching item in the overlay, and clicks it. Post-action verification confirms the selection state persisted and the popover closed.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Active workspace identifier hosting the dropdown or combobox control."
                  },
                  "selector": {
                    "type": "string",
                    "description": "Dropdown locator via OwlMark token, CSS syntax, pixel coordinates, or natural-language label."
                  },
                  "value": {
                    "type": "string",
                    "description": "Option value attribute or visible display text to choose from the available list."
                  },
                  "verification_level": {
                    "type": "string",
                    "description": "Audit intensity verifying the chosen option became active, ranging from none to strict."
                  }
                },
                "required": [
                  "context_id",
                  "selector",
                  "value"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserPick",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_press_key": {
      "post": {
        "summary": "Browser Press Key",
        "description": "Sends a single discrete keyboard stroke—either a named control key or an alphanumeric character—to the focused DOM node. The input synthesizer populates native virtual key codes, hardware scan codes, and DOM key strings across rawkeydown, char, and keyup phases inside the Chromium input pipeline. Special keys including Enter, Tab, Escape, Backspace, Delete, Space, Home, End, PageUp, PageDown, and directional arrows trigger built-in browser actions such as modal dismissal, focus ring advancement, or container scrolling. Because no pointer movement or click precedes the key event, active text selections, open autocomplete popovers, and focus states remain intact when the key fires. If no specific control holds focus, the event targets the document body.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Workspace handle where the single keystroke will be dispatched."
                  },
                  "key": {
                    "type": "string",
                    "description": "Control key name like Enter, Tab, Escape, ArrowDown, or a single alphanumeric character."
                  }
                },
                "required": [
                  "context_id",
                  "key"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserPressKey",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_submit_form": {
      "post": {
        "summary": "Browser Submit Form",
        "description": "Submits the HTML form enclosing the currently focused input control by synthesizing a native Enter key press and submit action. Inside Blink, pressing Enter within a focused single-line text, search, email, password, or number field invokes the implicit form submission algorithm defined by the HTML standard. This evaluates native constraint validation rules on required and pattern attributes, fires a cancelable submit event on the parent form node, and runs default submission if not canceled by page scripts. As a result, both classic multipart or urlencoded HTTP POST navigations and single-page JavaScript onSubmit handlers execute identically to human interaction. An input belonging to the target form must hold focus before invocation.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Identifier of the workspace whose currently focused form control will be submitted."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserSubmitForm",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_drag_drop": {
      "post": {
        "summary": "Browser Drag Drop",
        "description": "Performs a continuous pointer drag gesture from a starting pixel coordinate to an ending coordinate along a curved path. The input synthesizer moves the virtual cursor to the origin point, presses the primary mouse button, and interpolates movement frames through optional intermediate waypoints using cubic Bezier splines with velocity easing and micro-jitter. Across the trajectory, high-frequency pointermove and mousemove events stream to the renderer, terminating with pointerup and mouseup at the drop coordinate. This low-level coordinate stream is tailored for HTML5 canvas drawing, interactive range sliders, custom sortable grids, and puzzle or slider CAPTCHA challenges that inspect pointer kinematics. For DOM nodes using the HTML5 DragEvent API, invoke the dedicated HTML5 drag endpoint instead.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Workspace handle where the continuous pointer drag gesture will be performed."
                  },
                  "start_x": {
                    "type": "number",
                    "description": "Horizontal pixel offset from the left viewport edge where the button press begins."
                  },
                  "start_y": {
                    "type": "number",
                    "description": "Vertical pixel offset from the top viewport edge where the button press begins."
                  },
                  "end_x": {
                    "type": "number",
                    "description": "Horizontal pixel coordinate where the pointer drag terminates and releases."
                  },
                  "end_y": {
                    "type": "number",
                    "description": "Vertical pixel coordinate where the pointer drag terminates and releases."
                  },
                  "mid_points": {
                    "type": "string",
                    "description": "Optional JSON array of [x, y] waypoint pairs shaping the intermediate drag curve."
                  }
                },
                "required": [
                  "context_id",
                  "start_x",
                  "start_y",
                  "end_x",
                  "end_y"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserDragDrop",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_html5_drag_drop": {
      "post": {
        "summary": "Browser Html5 Drag Drop",
        "description": "Executes a standards-compliant HTML5 Drag and Drop transfer between two DOM nodes using synthetic DragEvent dispatch. Unlike raw pointer dragging, sortable lists and Kanban boards built on the HTML5 Drag and Drop specification require a shared DataTransfer payload carried across specific lifecycle events. The engine resolves both origin and destination CSS queries, calculates their center coordinates, and allocates an internal DataTransfer store. It then fires dragstart on the draggable source node, dispatches dragenter and dragover on the target container—honoring preventDefault calls that designate valid drop zones—and emits drop on the receiver followed by dragend on the origin. Both selectors must match live nodes in the current document tree for completion.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Workspace identifier hosting both the draggable item and the receiving container."
                  },
                  "source_selector": {
                    "type": "string",
                    "description": "CSS query matching the origin node configured with draggable set to true."
                  },
                  "target_selector": {
                    "type": "string",
                    "description": "CSS query identifying the destination drop zone container that receives the item."
                  }
                },
                "required": [
                  "context_id",
                  "source_selector",
                  "target_selector"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserHtml5DragDrop",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_mouse_move": {
      "post": {
        "summary": "Browser Mouse Move",
        "description": "Glides the virtual pointer between two viewport coordinates along a biomimetic curved trajectory without clicking. Behavioral anti-bot systems routinely analyze mousemove frequency, angular velocity, and path linearity to flag automated headless environments. To pass human-presence checks, the motion planner generates randomized cubic Bezier splines between the start and end coordinates, applying Fitts's-law acceleration, sub-pixel physiological tremor, and configurable frame density. When optional stop points are provided, the pointer decelerates into brief 50-to-150 millisecond dwell pauses at each waypoint, emulating natural visual scanning and human hesitation across page areas. As the cursor crosses element boundaries, Blink automatically fires authentic mouseenter, mouseover, mousemove, and mouseleave events.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Workspace handle where the non-clicking pointer trajectory will be synthesized."
                  },
                  "start_x": {
                    "type": "number",
                    "description": "Initial horizontal pixel coordinate from which the cursor motion originates."
                  },
                  "start_y": {
                    "type": "number",
                    "description": "Initial vertical pixel coordinate from which the cursor motion originates."
                  },
                  "end_x": {
                    "type": "number",
                    "description": "Final horizontal pixel position where the cursor comes to rest."
                  },
                  "end_y": {
                    "type": "number",
                    "description": "Final vertical pixel position where the cursor comes to rest."
                  },
                  "steps": {
                    "type": "number",
                    "description": "Number of interpolated motion frames along the curve, or zero for distance-based auto-scaling."
                  },
                  "stop_points": {
                    "type": "string",
                    "description": "Optional JSON array of [x, y] coordinates where the cursor pauses briefly mid-flight."
                  }
                },
                "required": [
                  "context_id",
                  "start_x",
                  "start_y",
                  "end_x",
                  "end_y"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserMouseMove",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_hover": {
      "post": {
        "summary": "Browser Hover",
        "description": "Moves the virtual pointer over a resolved target node without clicking, triggering CSS hover styles and pointer listeners. Target elements can be targeted through an OwlMark reference token, standard CSS expressions, screen coordinates, or descriptive text labels. Once located, the renderer scrolls the enclosing container if needed to bring the box into view, computes an uncovered center point, and transitions the cursor onto that coordinate. Blink immediately recalculates the :hover style cascade and dispatches pointerover, mouseover, pointerenter, and mouseenter events up the DOM hierarchy. Scripts use this interaction to open hover-activated navigation menus, trigger delayed popovers, or reveal inline action buttons before clicking.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Active workspace identifier where the hover state will be triggered."
                  },
                  "selector": {
                    "type": "string",
                    "description": "Hover target addressed by OwlMark handle, CSS expression, XxY coordinates, or natural phrase."
                  }
                },
                "required": [
                  "context_id",
                  "selector"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserHover",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_double_click": {
      "post": {
        "summary": "Browser Double Click",
        "description": "Delivers two rapid primary mouse clicks to a resolved target node within the platform double-click interval. Target lookup supports OwlMark tokens, CSS queries with optional nth disambiguation, pixel coordinates, and semantic descriptions. After scrolling the matched node into the visible viewport and computing a hit point inside its client rect, the input router emits two consecutive mousedown-mouseup-click cycles. The first click cycle carries MouseEvent.detail set to 1 while the second carries detail set to 2, culminating immediately in a bubbling dblclick event. Interactive web apps rely on this gesture to highlight words in text editors, open directories in cloud file browsers, or activate inline cell editing inside data grids.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Workspace handle where the double-click input sequence will be dispatched."
                  },
                  "selector": {
                    "type": "string",
                    "description": "Double-click target specified via OwlMark token, CSS locator, viewport coordinates, or semantic label."
                  }
                },
                "required": [
                  "context_id",
                  "selector"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserDoubleClick",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_right_click": {
      "post": {
        "summary": "Browser Right Click",
        "description": "Dispatches a secondary mouse button press and release on a target node to trigger its contextmenu event. The target node may be specified via an OwlMark handle, a CSS expression with optional nth indexing, pixel coordinates, or a semantic description. Once scrolled into the viewport and hit-tested, the Chromium input layer emits pointerdown and mousedown with button code 2 (buttons bitmask 2), fires the cancelable contextmenu event, and finishes with pointerup and mouseup. In complex web applications such as spreadsheets, cloud IDEs, and document managers, client scripts call preventDefault on contextmenu to mount custom floating action menus without invoking native OS menus.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Identifier of the workspace where the secondary button click will occur."
                  },
                  "selector": {
                    "type": "string",
                    "description": "Right-click target resolved through OwlMark handle, CSS syntax, pixel coordinates, or natural phrase."
                  }
                },
                "required": [
                  "context_id",
                  "selector"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserRightClick",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_clear_input": {
      "post": {
        "summary": "Browser Clear Input",
        "description": "Clears all existing characters from an input, textarea, or contenteditable node while firing authentic deletion events. Directly assigning an empty string to a DOM node's value property in JavaScript often fails because React, Vue, and Angular bind state to internal value trackers and InputEvent listeners. To guarantee framework synchronization, this operation locates the control via OwlMark token, CSS query, coordinates, or semantic label, focuses the field, selects its full text range, and synthesizes a Backspace keystroke. Consequently, the control empties cleanly while emitting genuine beforeinput, input, and change notifications up the DOM tree. Invoke this before typing whenever you need to overwrite pre-populated form values.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Workspace handle containing the editable control whose text will be erased."
                  },
                  "selector": {
                    "type": "string",
                    "description": "Editable field identified via OwlMark token, CSS query, XxY coordinates, or semantic description."
                  }
                },
                "required": [
                  "context_id",
                  "selector"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserClearInput",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_focus": {
      "post": {
        "summary": "Browser Focus",
        "description": "Assigns keyboard focus directly to a target DOM node without clicking, updating activeElement and firing focus events. Targets can be resolved through an OwlMark observation token, a CSS selector with optional nth indexing, pixel coordinates, or a semantic phrase. Upon resolving the node, the renderer executes native focus activation inside Blink. If a different control previously held focus, the engine first emits non-bubbling blur and bubbling focusout events on the prior node before dispatching focus and focusin on the new target. This click-free activation prepares inputs for direct keystrokes, triggers floating label transitions, or opens focus-driven autocomplete lists without accidentally toggling buttons or links.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Active workspace handle where keyboard focus will be assigned."
                  },
                  "selector": {
                    "type": "string",
                    "description": "Focusable node addressed via OwlMark handle, CSS locator, viewport coordinates, or semantic label."
                  }
                },
                "required": [
                  "context_id",
                  "selector"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserFocus",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_blur": {
      "post": {
        "summary": "Browser Blur",
        "description": "Removes keyboard focus from a target DOM node, resetting activeElement to the body and triggering validation hooks. Once the target control is identified via OwlMark handle, CSS expression, pixel coordinates, or natural-language description, the renderer calls its native blur method. Blink immediately strips :focus and :focus-visible pseudo-classes from the element and dispatches non-bubbling blur followed by bubbling focusout events across the ancestor chain. When the field's value changed while focused, blurring also fires the deferred change event that form frameworks like Formik, React Hook Form, and native HTML5 constraint validators rely on to execute schema checks and render inline validation feedback.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Workspace identifier where the target control will lose keyboard focus."
                  },
                  "selector": {
                    "type": "string",
                    "description": "Control to unfocus, located via OwlMark token, CSS expression, pixel coordinates, or phrase."
                  }
                },
                "required": [
                  "context_id",
                  "selector"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserBlur",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_select_all": {
      "post": {
        "summary": "Browser Select All",
        "description": "Highlights the entire character range inside a target input, textarea, or editable node, mimicking a Select-All shortcut. After locating the control through an OwlMark token, CSS selector, viewport coordinates, or semantic description, the engine focuses the node and spans its selection boundaries from index zero to the end of the value. For HTMLInputElement and HTMLTextAreaElement targets, selectionStart and selectionEnd cover the full string and a native select event is emitted; for contenteditable regions, the document Selection range wraps all descendant text nodes. Any subsequent character typing or clipboard copy command immediately overwrites or extracts the selected text.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Workspace handle containing the control whose text content will be highlighted."
                  },
                  "selector": {
                    "type": "string",
                    "description": "Text container specified by OwlMark handle, CSS query, XxY coordinates, or semantic phrase."
                  }
                },
                "required": [
                  "context_id",
                  "selector"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserSelectAll",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_keyboard_combo": {
      "post": {
        "summary": "Browser Keyboard Combo",
        "description": "Synthesizes a modifier-plus-key shortcut chord such as Ctrl+A, Meta+V, or Ctrl+Shift+N and sends it to the active page. The chord parser splits the input string into modifier flags—Control, Shift, Alt, and Meta or Command—paired with the final action key. Inside the Chromium input router, each modifier key depresses in sequence, the primary keydown and char events fire with the combined modifier bitmask attached to the KeyboardEvent, and all keys release in reverse order. Web applications that inspect event.ctrlKey, event.metaKey, event.altKey, or event.shiftKey respond identically to physical keyboard shortcuts for clipboard actions, undo stacks, and formatting commands.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Identifier of the workspace that will receive the synthesized keyboard shortcut."
                  },
                  "combo": {
                    "type": "string",
                    "description": "Modifier and key chord string such as Ctrl+A, Meta+C, Shift+Enter, or Ctrl+Shift+N."
                  }
                },
                "required": [
                  "context_id",
                  "combo"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserKeyboardCombo",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_upload_file": {
      "post": {
        "summary": "Browser Upload File",
        "description": "Attaches one or more local filesystem files to an HTML file input control, bypassing the native OS file picker dialog. The target locator—supporting OwlMark tokens, CSS queries, pixel coordinates, or natural-language phrases—can reference either an input[type=file] node directly or a styled button wrapper that delegates to one. Once the underlying file input is resolved, the backend verifies that every specified file path exists on disk (or stages multipart uploads into temporary paths) and populates the element's internal FileList object. Blink then dispatches synthetic input and change events so client-side upload scripts, image previewers, and Dropzone handlers process the attached files immediately.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Workspace handle where the file attachment operation will take place."
                  },
                  "selector": {
                    "type": "string",
                    "description": "File input or trigger button via OwlMark token, CSS locator, coordinates, or description."
                  },
                  "file_paths": {
                    "type": "string",
                    "description": "Array or JSON-encoded list of absolute server filesystem paths to attach."
                  }
                },
                "required": [
                  "context_id",
                  "selector",
                  "file_paths"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserUploadFile",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_is_visible": {
      "post": {
        "summary": "Browser Is Visible",
        "description": "Determines whether a target DOM node is currently rendered and visible in the layout tree rather than hidden or collapsed. Target resolution supports accessibility node IDs, query selectors, absolute pixel offsets, or semantic intent descriptions. Once resolved, the renderer inspects both the node's computed CSS styles and its layout geometry box. To return boolean true, the element must exist in the live document, possess a bounding client rectangle with positive width and height, and exhibit computed display other than none, visibility set to visible, and opacity above zero. Missing nodes or subtrees hidden by ancestor styles safely return false without raising an exception.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Workspace identifier where the target node's visual presence will be evaluated."
                  },
                  "selector": {
                    "type": "string",
                    "description": "Visibility target addressed via OwlMark token, CSS syntax, viewport coordinates, or natural phrase."
                  }
                },
                "required": [
                  "context_id",
                  "selector"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserIsVisible",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_is_enabled": {
      "post": {
        "summary": "Browser Is Enabled",
        "description": "Checks whether an interactive form control or button is currently enabled for user input rather than disabled. Callers can locate the control using an OwlMark token, a CSS query with optional nth disambiguation, pixel coordinates, or a semantic description. After resolving the DOM node, the engine evaluates its boolean disabled property, checks whether an enclosing fieldset element cascades a disabled state, and inspects aria-disabled metadata in the accessibility tree. The response returns boolean true when the control accepts focus and pointer activation, or false when interaction is prohibited. Workflows poll this predicate to verify that submit buttons unlock after required form inputs are populated.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Active workspace handle where the control's enabled status is inspected."
                  },
                  "selector": {
                    "type": "string",
                    "description": "Interactive control located through OwlMark handle, CSS expression, XxY coordinates, or semantic label."
                  }
                },
                "required": [
                  "context_id",
                  "selector"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserIsEnabled",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_is_checked": {
      "post": {
        "summary": "Browser Is Checked",
        "description": "Reads the live selection state of a checkbox, radio button, or ARIA switch widget and returns a boolean value. Callers identify the target control via tagged DOM identifiers, CSS paths, coordinate pairs, or user-visible text prompts. For native input[type=checkbox] and input[type=radio] elements, the engine inspects the runtime JavaScript checked property rather than the initial HTML checked attribute, capturing dynamic user or script toggles. When targeting custom components carrying role=checkbox, role=radio, or role=switch, the evaluator falls back to reading the aria-checked attribute. Automation routines use this check to confirm consent boxes and filter toggles before form submission.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Workspace identifier hosting the checkbox or radio control to inspect."
                  },
                  "selector": {
                    "type": "string",
                    "description": "Checkbox or radio target via OwlMark token, CSS locator, pixel coordinates, or phrase."
                  }
                },
                "required": [
                  "context_id",
                  "selector"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserIsChecked",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_is_editable": {
      "post": {
        "summary": "Browser Is Editable",
        "description": "Verifies whether a target DOM node accepts text modification by confirming it is neither disabled nor marked read-only. Whereas a standard enabled check only tests the disabled flag, text inputs often carry a readonly attribute or aria-readonly property that permits focus and selection while blocking character entry. Upon locating the target via OwlMark token, CSS expression, viewport coordinates, or natural-language phrase, the engine checks that the node is an unlocked input, textarea, or contenteditable element free of both disabled and readOnly restrictions. The endpoint returns the string 'editable' when text entry is allowed, or 'not_editable' when the control is locked.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Workspace handle where the target control's mutability will be verified."
                  },
                  "selector": {
                    "type": "string",
                    "description": "Target field identified by OwlMark handle, CSS syntax, viewport coordinates, or semantic description."
                  }
                },
                "required": [
                  "context_id",
                  "selector"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserIsEditable",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_count_elements": {
      "post": {
        "summary": "Browser Count Elements",
        "description": "Counts the total number of DOM nodes matching a CSS selector in the active document and returns an integer. Within the Blink renderer, the handler executes document.querySelectorAll with the supplied CSS expression against the live document tree and reads the resulting NodeList length. Because no node attributes, inner text, or layout rectangles are serialized across the IPC channel, the count completes with near-zero overhead even when thousands of elements match. Data extraction pipelines and test suites use this metric to verify pagination batch counts, tally rendered table rows or product cards, and confirm that client-side search filters updated the list.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Active workspace identifier where the CSS match count will be executed."
                  },
                  "selector": {
                    "type": "string",
                    "description": "Standard CSS query string used to tally matching nodes in the document."
                  }
                },
                "required": [
                  "context_id",
                  "selector"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserCountElements",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_dispatch_event": {
      "post": {
        "summary": "Browser Dispatch Event",
        "description": "Instantiates and dispatches a synthetic DOM Event of any given type directly onto a resolved target node. The target element can be located using an OwlMark handle, CSS selector, pixel coordinates, or semantic description. Once the node is found, the renderer constructs a standard Event instance with the caller's event_type string—such as input, change, submit, focus, blur, mouseenter, or custom framework events—alongside the specified bubbles boolean and cancelable set to true. Registered event listeners on the target node and, when bubbling is enabled, its ancestor chain execute synchronously inside the page's JavaScript execution context. This provides a reliable way to trigger reactive state updates after programmatic DOM changes.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Workspace handle containing the node that will receive the synthetic event."
                  },
                  "selector": {
                    "type": "string",
                    "description": "Event target resolved via OwlMark handle, CSS query, XxY coordinates, or natural description."
                  },
                  "event_type": {
                    "type": "string",
                    "description": "DOM event name to instantiate and fire, such as input, change, or submit."
                  },
                  "bubbles": {
                    "type": "boolean",
                    "description": "Boolean flag controlling whether the dispatched event propagates up through ancestor nodes."
                  }
                },
                "required": [
                  "context_id",
                  "selector",
                  "event_type"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserDispatchEvent",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_get_attribute": {
      "post": {
        "summary": "Browser Get Attribute",
        "description": "Retrieves the string value of a named HTML attribute from a resolved DOM node in the current document. The target element can be located through an observed handle, standard document selectors, click coordinates, or natural phrasing. After resolving the element, the renderer invokes element.getAttribute for the requested attribute name—supporting standard HTML properties like href, src, value, class, id, and title alongside custom data-* and aria-* attributes. If the attribute does not exist on the matched node or the locator matches no elements in the document, the endpoint cleanly returns an empty string instead of null.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Identifier of the workspace from which the node attribute will be read."
                  },
                  "selector": {
                    "type": "string",
                    "description": "Attribute source node via OwlMark token, CSS expression, viewport coordinates, or semantic label."
                  },
                  "attribute": {
                    "type": "string",
                    "description": "Name of the HTML attribute to retrieve, such as href, src, or data-id."
                  }
                },
                "required": [
                  "context_id",
                  "selector",
                  "attribute"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserGetAttribute",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_get_bounding_box": {
      "post": {
        "summary": "Browser Get Bounding Box",
        "description": "Measures the viewport-relative layout rectangle of a resolved DOM node, returning its x, y, width, and height in pixels. The target element can be specified using an OwlMark token, a CSS selector with optional nth indexing, pixel coordinates, or a semantic description. Once the node is resolved in the live DOM tree, the renderer invokes getBoundingClientRect to compute its exact border-box geometry after applying CSS transforms, flexbox or grid layout, and current scroll offsets. The response returns a JSON object with numeric x, y, width, and height fields measured from the top-left corner of the viewport, enabling precise coordinate calculation for drag gestures and visual layout checks.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Workspace handle where the target node's layout rectangle will be measured."
                  },
                  "selector": {
                    "type": "string",
                    "description": "Measured node located through OwlMark handle, CSS locator, pixel coordinates, or natural phrase."
                  }
                },
                "required": [
                  "context_id",
                  "selector"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserGetBoundingBox",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_evaluate": {
      "post": {
        "summary": "Browser Evaluate",
        "description": "Compiles and runs custom JavaScript source directly inside the active V8 isolate attached to the current document. Execution occurs within the main world scope, granting full read and write access to global variables, window properties, and live DOM trees. When asynchronous promises or top-level await syntax appear, the runtime suspends response serialization until the promise settles or a ten-second timer expires. Setting the return flag causes the engine to serialize the final completion value into JSON, whereas statement mode discards outputs and reports completion status. Uncaught exceptions, syntax faults, or rejected promises are captured by the inspector bridge and formatted into structured error payloads without crashing the renderer process. Authors can supply either raw multi-line statement blocks or concise single-line expressions depending on whether side effects or computed telemetry values are needed.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Active session identifier pinpointing which isolated V8 renderer environment runs the provided script."
                  },
                  "script": {
                    "type": "string",
                    "description": "Multi-statement JavaScript source block executed inside the main document scope with optional explicit return."
                  },
                  "expression": {
                    "type": "string",
                    "description": "Shorthand single-line JavaScript formula whose evaluated or awaited outcome is automatically serialized back."
                  },
                  "return_value": {
                    "type": "boolean",
                    "description": "Boolean switch instructing the V8 bridge to serialize and return the script completion result."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserEvaluate",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_clipboard_read": {
      "post": {
        "summary": "Browser Clipboard Read",
        "description": "Retrieves plain-text data currently stored inside the host operating system or headless session clipboard buffer. Instead of synthesizing keyboard shortcuts inside the web page, this operation queries the native platform pasteboard interface managed by the underlying CEF runtime. That architecture bypasses page-level Permissions API prompts and avoids focus glitches that frequently block `navigator.clipboard.readText()` calls in automated workflows. Typical workflows invoke this endpoint immediately after triggering an in-page copy button—such as an API token generator or share-link widget—to verify or capture the exported string. The response payload delivers the exact UTF-8 character sequence held in memory, preserving line breaks, tabs, and whitespace without HTML sanitization. If the system buffer holds only binary image data or remains empty, a zero-length string comes back without throwing an exception.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session handle identifying the virtualized environment whose clipboard buffer should be inspected."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserClipboardRead",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_clipboard_write": {
      "post": {
        "summary": "Browser Clipboard Write",
        "description": "Populates the session pasteboard buffer with a specified UTF-8 string, overwriting any previously stored contents. The command writes directly through the native Chromium Embedded Framework clipboard controller rather than executing untrusted script inside the document context. Consequently, the assignment succeeds even when the loaded website restricts clipboard mutation through Content Security Policy headers or Permissions Policy directives. Automation pipelines use this step to stage multiline code snippets, formatted payloads, or complex credentials prior to triggering a native paste event into an editor. All Unicode code points, emoji sequences, and carriage returns are preserved verbatim in the host memory buffer. Once the write operation completes, the endpoint returns an acknowledgment status confirming that subsequent paste actions will emit the newly staged string.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Target workspace token designating which instance receives the updated pasteboard text assignment."
                  },
                  "text": {
                    "type": "string",
                    "description": "Raw UTF-8 character sequence to store inside the pasteboard buffer, replacing prior data."
                  }
                },
                "required": [
                  "context_id",
                  "text"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserClipboardWrite",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_clipboard_clear": {
      "post": {
        "summary": "Browser Clipboard Clear",
        "description": "Purges all text and binary entries from the pasteboard buffer associated with the specified automation workspace. Under the hood, the runtime invokes the platform clipboard reset routine to zero out allocated memory slots and revoke pending data handles. Wiping shared buffer state between test cases or credential entry workflows prevents sensitive tokens, passwords, or residual strings from leaking across sequential operations. It also ensures deterministic assertions when verifying whether an application's copy button actually wrote fresh output or silently failed while leaving stale data behind. The operation executes synchronously at the host integration layer without dispatching synthetic DOM events or disturbing keyboard focus within the active window. A boolean status confirmation is returned immediately once the buffer has been emptied.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Unique workspace identifier specifying which session pasteboard should be wiped clean."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserClipboardClear",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_clipboard_paste": {
      "post": {
        "summary": "Browser Clipboard Paste",
        "description": "Dispatches a native paste command into whichever editable control currently holds input focus inside the rendered document. Unlike naive property assignment, the CEF host synthesizes an authentic `ClipboardEvent('paste')` carrying a populated `DataTransfer` payload before inserting characters into the active selection range. Afterward, Blink fires standard `beforeinput` and `input` notifications so reactive state managers in React, Vue, ProseMirror, or Monaco editors synchronize their internal models properly. Callers must focus the target `<input>`, `<textarea>`, or `contenteditable` node beforehand via a click or focus command; otherwise, the keystroke sequence lands on `document.body` without effect. This mechanism is ideal for inserting large text blocks instantaneously without suffering per-character keystroke latency or triggering rate limiters. The response payload confirms delivery of the staged pasteboard contents to the focused responder.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session identifier indicating where the native paste command should be dispatched."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserClipboardPaste",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_list_frames": {
      "post": {
        "summary": "Browser List Frames",
        "description": "Enumerates the complete hierarchy of browsing contexts—both the root document and every embedded `<iframe>`—currently attached to the page. The engine traverses its internal `RenderFrameHost` tree, capturing both same-origin subdocuments and cross-origin isolated processes running under Site Isolation. For each discovered node, the returned array reports the unique internal identifier, the HTML `name` attribute, the resolved source URL, and the zero-based positional index. Inspecting this inventory allows automation scripts to locate sandboxed payment forms, third-party authentication widgets, or rich-text editors before redirecting interaction commands into them. Even dynamically injected frames that lack explicit DOM attributes receive deterministic identifiers in the output manifest. Parent-child relationships and loading states are preserved accurately across nested levels. No document state or keyboard focus is altered during this read-only inspection pass.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Identifier of the active session whose subdocument hierarchy will be enumerated."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserListFrames",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_switch_to_frame": {
      "post": {
        "summary": "Browser Switch To Frame",
        "description": "Redirects subsequent DOM queries, coordinate calculations, and input events within the session to a designated child `<iframe>` subdocument. When invoked, the session router rebinds its active `RenderFrameHost` pointer to the matched child context, allowing transparent interaction with cross-origin widgets that would otherwise be blocked by same-origin policy boundaries. Target resolution supports four flexible formats: the raw identifier emitted by the listing endpoint, the iframe's `name` attribute, a zero-based integer index string, or a CSS query matching the host container tag. Once rebound, all relative coordinates and selector lookups operate strictly inside the subdocument's local viewport and DOM tree. If the specified child container cannot be found or has detached from the layout tree, the call fails with a descriptive lookup error.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session token whose active execution target should shift into the specified subdocument."
                  },
                  "frame_selector": {
                    "type": "string",
                    "description": "Subdocument target given as a raw frame ID, name attribute, numeric index, or CSS query."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserSwitchToFrame",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_switch_to_main_frame": {
      "post": {
        "summary": "Browser Switch To Main Frame",
        "description": "Restores the session's active execution scope back to the top-level root document after operating inside a nested subdocument. Internally, the command resets the routing pointer to the primary `RenderFrameHost` at the apex of the page tree, discarding any prior iframe binding. Returning to the root scope is mandatory whenever an automation sequence finishes filling a sandboxed checkout widget or CAPTCHA box and needs to click outer navigation controls again. If the session is already pointed at the root document, this operation acts as a safe, idempotent no-op and still reports success. It also recovers gracefully if the previously targeted child subdocument was destroyed or navigated away during form submission. Subsequent queries immediately evaluate against the primary window's DOM hierarchy without requiring a reload.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session handle to reset so subsequent commands target the primary top-level document."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserSwitchToMainFrame",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_extract_text": {
      "post": {
        "summary": "Browser Extract Text",
        "description": "Harvests human-readable text rendered on the page or inside targeted DOM nodes while stripping markup tags, hidden scripts, and styling blocks. Rather than dumping raw `textContent`, the extraction engine walks the Blink layout tree to respect CSS visibility rules. Redundant whitespace is collapsed and natural line breaks are inserted between block containers. When a locator is omitted, the entire visible body is serialized into a single string. When a query hits multiple nodes, their strings come back as a JSON array unless pinned with an `>> nth=N` qualifier. An optional regular expression filter can post-process each string to isolate structured substrings such as prices, invoice codes, or email addresses. Callers may request either the full regex hit or a specific numbered capture group from the pattern.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Identifier of the session from which visible rendered text will be harvested."
                  },
                  "selector": {
                    "type": "string",
                    "description": "Optional OwlMark token, CSS query, screen coordinates, or natural phrase scoping the extraction node."
                  },
                  "regex": {
                    "type": "string",
                    "description": "Regular expression pattern applied to filter and isolate desired substrings from harvested text."
                  },
                  "regex_group": {
                    "type": "string",
                    "description": "Capture group index (0 for entire hit, 1+ for parenthesized sub-groups) to return."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserExtractText",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_screenshot": {
      "post": {
        "summary": "Browser Screenshot",
        "description": "Renders a lossless PNG image of the current viewport, a specific DOM bounding box, or the entire scrollable document surface. Capture happens directly through the Chromium Viz display compositor, ensuring WebGL canvases, hardware-accelerated video layers, web fonts, and CSS animations appear exactly as painted. In `viewport` mode, only the currently visible window region is rasterized; `element` mode crops tightly around the target node's border box; `fullpage` mode expands the compositor surface to stitch the complete vertical and horizontal scroll range. Callers can downsample image dimensions via the percentage `scale` parameter or adjust HiDPI sharpness using `device_scale_factor` to reduce token consumption when feeding visuals to multimodal vision models. The final binary image buffer is returned immediately as a base64-encoded string ready for inspection.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Workspace handle designating which rendered surface should be rasterized into PNG format."
                  },
                  "mode": {
                    "type": "string",
                    "description": "Capture scope selecting between 'viewport' window area, cropped 'element', or stitched 'fullpage'.",
                    "enum": [
                      "viewport",
                      "element",
                      "fullpage"
                    ]
                  },
                  "selector": {
                    "type": "string",
                    "description": "Target locator (OwlMark, CSS query, coordinates, or phrase) required when cropping in element mode."
                  },
                  "scale": {
                    "type": "string",
                    "description": "Output dimension scaling percentage from 1 to 100 for downsampling rasterized image resolution."
                  },
                  "device_scale_factor": {
                    "type": "number",
                    "description": "HiDPI pixel ratio multiplier (such as 2 for retina density) used during compositor rasterization."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserScreenshot",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_highlight": {
      "post": {
        "summary": "Browser Highlight",
        "description": "Paints a customizable colored outline and translucent fill overlay directly over a resolved DOM node for visual verification. After locating the target via an OwlMark handle, CSS selector, pixel pair, or natural-language description, the engine computes the node's live client bounding rectangles. It then injects a non-interactive overlay layer positioned directly above the page content. Because the overlay uses `pointer-events: none` and high z-index stacking, it never intercepts mouse clicks or shifts surrounding flexbox or grid layouts. Engineers and visual agents use this diagnostic marker before executing destructive clicks to confirm that a locator resolves to the intended button—especially when disambiguating repeated rows with `>> nth=N`. The visual indicator remains rendered on screen until the active document navigates or reloads.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session identifier where the diagnostic visual overlay will be injected onto the page."
                  },
                  "selector": {
                    "type": "string",
                    "description": "Locator for the highlighted node using an OwlMark handle, CSS expression, coordinates, or phrase."
                  },
                  "border_color": {
                    "type": "string",
                    "description": "CSS color value (hex, named, or rgb) defining the perimeter stroke around the target box."
                  },
                  "background_color": {
                    "type": "string",
                    "description": "Translucent CSS rgba or color string filling the interior area of the highlighted bounding box."
                  }
                },
                "required": [
                  "context_id",
                  "selector"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserHighlight",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_show_grid_overlay": {
      "post": {
        "summary": "Browser Show Grid Overlay",
        "description": "Projects a calibrated Cartesian coordinate lattice overlay across the active window with numeric `(X, Y)` pixel labels at line intersections. The renderer constructs a fixed-position SVG/canvas HUD spanning `100vw` by `100vh` with `pointer-events: none` so underlying controls remain fully interactive while the guide is visible. By tuning horizontal and vertical subdivision counts alongside custom stroke and label alpha colors, operators can calibrate exact pixel offsets over complex canvases, map widgets, or custom drag-and-drop sliders that lack semantic DOM nodes. Combining this visual guide with a subsequent screenshot enables multimodal agents or human developers to read precise client coordinates before issuing raw mouse click or drag commands. The calibration overlay stays pinned to the screen during scrolling until the document reloads.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Workspace identifier where the fixed coordinate guide overlay should be rendered."
                  },
                  "horizontal_lines": {
                    "type": "number",
                    "description": "Count of horizontal subdivisions drawn from top to bottom across the visible height."
                  },
                  "vertical_lines": {
                    "type": "number",
                    "description": "Count of vertical subdivisions drawn from left to right across the visible width."
                  },
                  "line_color": {
                    "type": "string",
                    "description": "CSS color string (typically low-opacity rgba) applied to horizontal and vertical lattice lines."
                  },
                  "text_color": {
                    "type": "string",
                    "description": "CSS color value used to render numeric pixel coordinate labels at line intersections."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserShowGridOverlay",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_get_html": {
      "post": {
        "summary": "Browser Get Html",
        "description": "Serializes the live DOM tree—either from the root `<html>` node or scoped to matched subtrees—into sanitized HTML markup strings. Unlike fetching raw network source, this serializer reads the current in-memory Blink DOM after JavaScript frameworks have hydrated templates and mutated attributes. Three configurable scrubbing tiers control payload verbosity and noise reduction. Specifically, `minimal` retains nearly all markup structure, `basic` strips executable `<script>` and `<style>` blocks plus inline event handlers, and `aggressive` prunes presentational wrappers, SVG paths, and tracking attributes down to semantic core tags. When a scoped CSS query matches multiple containers, the response returns a JSON array containing each node's cleaned `innerHTML` fragment. Downstream parsers, scrapers, and indexing pipelines consume these sanitized fragments without choking on client-side bundle bloat.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session handle identifying the live DOM document to serialize and sanitize."
                  },
                  "selector": {
                    "type": "string",
                    "description": "Optional CSS query scoping serialization to specific container subtrees instead of the full document."
                  },
                  "clean_level": {
                    "type": "string",
                    "description": "Sanitization intensity tier ('minimal', 'basic', or 'aggressive') controlling script and wrapper removal.",
                    "enum": [
                      "minimal",
                      "basic",
                      "aggressive"
                    ]
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserGetHtml",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_get_markdown": {
      "post": {
        "summary": "Browser Get Markdown",
        "description": "Transforms the rendered document hierarchy into clean, structured GitHub-Flavored Markdown optimized for LLM ingestion and archival. The converter walks semantic block and inline nodes across the live layout tree. It translates heading levels (H1 through H6 headings), ordered and unordered lists, data tables, code blocks, and emphasis tags while discarding navigation chrome, hidden modals, and script noise. Callers can toggle whether anchor tags expand into `[label](href)` syntax with resolved absolute URLs and whether image nodes emit `![alt](src)` image references. For massive documentation portals or infinite feeds, supplying a character ceiling truncates output cleanly at token boundaries without producing broken formatting. Converting noisy DOM trees into compact plain-text formatting drastically reduces context window overhead compared to raw HTML serialization. The resulting string is returned directly in the response payload.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Identifier of the session whose rendered document will be converted into formatted text."
                  },
                  "include_links": {
                    "type": "boolean",
                    "description": "Boolean flag controlling whether anchor tags are formatted as inline `[text](url)` hyperlinks."
                  },
                  "include_images": {
                    "type": "boolean",
                    "description": "Boolean flag determining whether image nodes are emitted as `![alt](src)` visual references."
                  },
                  "max_length": {
                    "type": "string",
                    "description": "Maximum character count cap for the generated output string, or -1 for unlimited length."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserGetMarkdown",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_extract_site": {
      "post": {
        "summary": "Browser Extract Site",
        "description": "Launches an asynchronous, breadth-first website crawler that traverses links from a seed address and compiles multi-document content. Because rendering and harvesting dozens of JavaScript-heavy views takes time, the endpoint schedules a background worker task and immediately returns a tracking `job_id`. That non-blocking design ensures the caller never suffers HTTP socket timeouts during deep crawls. The worker respects configurable hop depth limits, total document caps, per-route render timeouts, and glob exclusion filters such as skipping `/login` or `/admin/*` paths. Each visited route is rendered inside the engine and converted into Markdown, plain text, or structured JSON. Optional flags control whether resolved image source links and OpenGraph or meta description fields are embedded in the resulting corpus. Callers monitor progress and retrieve results using the companion job endpoints.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Workspace session utilized to initialize and execute the asynchronous multi-document crawl worker."
                  },
                  "url": {
                    "type": "string",
                    "description": "Initial seed web address where breadth-first link discovery and content harvesting begin."
                  },
                  "depth": {
                    "type": "string",
                    "description": "Maximum link-hop distance from the seed address that the crawler is permitted to traverse."
                  },
                  "max_pages": {
                    "type": "string",
                    "description": "Hard upper limit on total routes visited and harvested before terminating the job."
                  },
                  "follow_external": {
                    "type": "boolean",
                    "description": "Boolean switch permitting traversal onto external hostnames outside the seed domain."
                  },
                  "output_format": {
                    "type": "string",
                    "description": "Target serialization format ('markdown', 'text', or 'json') applied to every harvested route.",
                    "enum": [
                      "markdown",
                      "text",
                      "json"
                    ]
                  },
                  "include_images": {
                    "type": "boolean",
                    "description": "Boolean option to retain resolved image source URLs within the extracted payloads."
                  },
                  "include_metadata": {
                    "type": "boolean",
                    "description": "Boolean option to attach title, canonical URL, and meta description fields."
                  },
                  "exclude_patterns": {
                    "type": "string",
                    "description": "JSON array of glob pattern strings matching route paths or URLs to skip during crawling."
                  },
                  "timeout_per_page": {
                    "type": "string",
                    "description": "Maximum milliseconds allotted for each individual navigation and render pass."
                  }
                },
                "required": [
                  "context_id",
                  "url"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserExtractSite",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_extract_site_progress": {
      "post": {
        "summary": "Browser Extract Site Progress",
        "description": "Polls the live execution telemetry of an asynchronous site-extraction job previously launched in the background. Querying the worker registry by `job_id` returns a lightweight JSON status snapshot without blocking active crawlers. The payload reports the lifecycle state (`running`, `completed`, `cancelled`, or `error`), the count of finished documents (`pages_completed`), the discovered queue size (`pages_total`), and the `current_url` actively being rendered. Client orchestrators typically poll this non-blocking endpoint at brief intervals to drive progress indicators or wait until the state transitions to `completed` before fetching the aggregated corpus. If an unrecognized or expired identifier is supplied, the registry responds with a structured lookup error indicating no matching background task exists. Polling incurs negligible CPU overhead on the host coordinator even during high-concurrency crawls.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "job_id": {
                    "type": "string",
                    "description": "Unique background task identifier returned when the multi-page site crawl was initiated."
                  }
                },
                "required": [
                  "job_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserExtractSiteProgress",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_extract_site_result": {
      "post": {
        "summary": "Browser Extract Site Result",
        "description": "Fetches the aggregated multi-page corpus produced by a finished site-extraction background job. Once the crawler worker reaches the `completed` state, invoking this endpoint with the corresponding `job_id` streams back the compiled dataset. Output formatting follows the `output_format` requested at launch: either concatenated Markdown chapters, plain-text documents, or a structured JSON array containing per-page metadata, links, and body payloads. Retrieving the corpus is non-destructive, allowing multiple downstream consumers to read the cached result until the session closes. If called prematurely while the worker is still traversing links, the response indicates that aggregation remains in progress. When called after a partial cancellation, any pages harvested prior to termination are returned alongside diagnostic status fields. Unrecognized job identifiers return a clean lookup error.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "job_id": {
                    "type": "string",
                    "description": "Completed extraction task identifier whose compiled multi-page dataset should be retrieved."
                  }
                },
                "required": [
                  "job_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserExtractSiteResult",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_extract_site_cancel": {
      "post": {
        "summary": "Browser Extract Site Cancel",
        "description": "Signals an active background site-extraction worker to halt pending link queue traversal and stop further page navigations immediately. Upon receiving the cancellation request for the specified `job_id`, the coordinator sets an atomic termination flag and aborts any in-flight network requests on the current route. It then flushes partial telemetry and transitions the job lifecycle state to `cancelled`. Stopping runaway or misconfigured crawls frees renderer memory, network bandwidth, and session resources without tearing down the parent workspace or invalidating cookies. Any documents already harvested before the stop signal remain accessible through the result endpoint. If the referenced task had already finished or been stopped previously, the endpoint returns a clean idempotent status payload confirming the inactive state. No renderer processes are orphaned.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "job_id": {
                    "type": "string",
                    "description": "Running site-crawl task identifier that should be cooperatively halted and removed from queue."
                  }
                },
                "required": [
                  "job_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserExtractSiteCancel",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_extract_json": {
      "post": {
        "summary": "Browser Extract Json",
        "description": "Parses unstructured or semi-structured web documents into normalized JSON records using predefined templates or heuristic DOM mining. When a known template (such as `amazon_product`, `google_search`, or `github_repo`) is specified or auto-detected from the URL, dedicated selectors extract canonical fields with high precision. On unfamiliar websites, the engine analyzes repeating sibling subtrees inside the optional container query to identify product cards, feed posts, or directory rows. It automatically maps titles, hyperlinks, thumbnails, prices, ratings, timestamps, and summaries into uniform objects. The returned payload also bundles any embedded Schema.org `application/ld+json` blocks and OpenGraph meta tags found in the document head. Combining heuristic subtree clustering with metadata harvesting yields reliable structured output across arbitrary domains without requiring custom scraper rules or manual XPath maintenance.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session identifier whose loaded document will be parsed into structured JSON records."
                  },
                  "template": {
                    "type": "string",
                    "description": "Optional predefined parser name (like 'amazon_product' or 'wikipedia') or empty for auto-detection."
                  },
                  "selector": {
                    "type": "string",
                    "description": "Optional CSS container query restricting heuristic repeating-item detection to a specific subtree."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserExtractJson",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_detect_site": {
      "post": {
        "summary": "Browser Detect Site",
        "description": "Classifies the currently loaded web document against Owl Browser's library of recognized domain signatures and structural archetypes. The classifier inspects the canonical hostname, URL path patterns, OpenGraph type tags, Schema.org microdata, and characteristic DOM landmarks. From those signals, it determines whether the page matches a built-in template such as `google_search`, `duckduckgo_search`, `wikipedia`, `amazon_product`, `github_repo`, `twitter_feed`, or `reddit_thread`. Running this lightweight diagnostic check before structured harvesting lets automation pipelines decide whether to invoke template-driven JSON extraction or fall back to general heuristic or LLM-assisted parsing. Detection executes purely against in-memory DOM metadata without issuing external network requests or altering focus. The response returns the matched archetype identifier string or `unknown` alongside confidence metadata, detected domain family, and matched landmark rules for downstream routing.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Workspace handle whose loaded URL and DOM landmarks will be classified."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserDetectSite",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_list_templates": {
      "post": {
        "summary": "Browser List Templates",
        "description": "Returns the complete catalog of built-in structured data extraction templates compiled into the runtime engine. Each catalog entry details the template's canonical identifier key—such as `google_search`, `amazon_product`, `github_repo`, or `reddit_thread`—along with supported hostname patterns and target page archetype descriptions. Entries also document the exact schema of output fields populated during extraction, including item arrays, pricing attributes, author metadata, and pagination links. Because this introspection query reads static engine metadata rather than inspecting a live page, it requires no session handle and executes instantaneously with zero renderer overhead. Orchestration agents and SDK clients query this registry at startup to discover which websites enjoy native zero-cost structured parsing before invoking LLM extractors. The full manifest is returned as a deterministic JSON object.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserListTemplates",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_summarize_page": {
      "post": {
        "summary": "Browser Summarize Page",
        "description": "Generates a concise, structured semantic digest of the loaded web document using the configured on-device or external language model. Before prompting the model, the engine distills the live DOM into a token-efficient representation capturing the primary article narrative, section hierarchy, key facts, and available interactive controls. Advertisements, tracking pixels, and repetitive navigation chrome are stripped automatically during distillation. The resulting digest is indexed in an in-memory cache keyed by the canonical URL so repeated inspections within the same workflow return instantaneously without redundant inference latency. Passing `force_refresh=true` invalidates the cached entry and recomputes a fresh digest after Single-Page Application state mutations or AJAX updates. Downstream agents rely on this compact overview to plan actions without exhausting context limits or token budgets.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session identifier of the loaded document to distill into a structured semantic digest."
                  },
                  "force_refresh": {
                    "type": "boolean",
                    "description": "Boolean flag bypassing the per-URL summary cache to recompute after dynamic DOM updates."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserSummarizePage",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_query_page": {
      "post": {
        "summary": "Browser Query Page",
        "description": "Answers natural-language inquiries about the currently loaded document by grounding LLM inference in the page's semantic digest and text. When an inquiry arrives—such as asking whether free shipping is offered, which pricing tiers exist, or what contact email is listed—the engine retrieves or builds the structured representation. It then executes a grounded question-answering pass restricted to factual evidence present in the document. Unlike rigid CSS or regex lookups that break when site layouts change, semantic querying resolves paraphrases and synthesizes facts scattered across multiple paragraphs or tables. The model returns a direct, concise answer string tailored to the prompt alongside supporting context and high factual precision. This read-only operation never mutates DOM state, alters scroll position, or triggers navigation across the active session.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Workspace handle containing the loaded document against which the inquiry is evaluated."
                  },
                  "query": {
                    "type": "string",
                    "description": "Natural-language prompt asking for specific facts, availability, or details from the page."
                  }
                },
                "required": [
                  "context_id",
                  "query"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserQueryPage",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_llm_status": {
      "post": {
        "summary": "Browser Llm Status",
        "description": "Reports the operational health, readiness state, and provider configuration of the language model subsystem powering AI commands. When called without a session parameter, the endpoint inspects the global built-in inference engine (such as the local GGUF/llama.cpp server) and reports whether weights are `ready`, still `loading` into memory, or `unavailable`. When a specific `context_id` is supplied, it inspects that workspace's custom LLM routing override. The payload details the provider `type` (`builtin`, `external`, or `none`), remote API endpoint URL, and active model identifier string. Orchestrators check this readiness probe prior to dispatching vision or natural-language tasks to prevent unexpected inference failures while local weights are still warming up. Diagnostics complete instantaneously without consuming model inference quota, GPU compute cycles, or external network bandwidth.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Optional workspace identifier to inspect context-specific external LLM routing instead of global status."
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserLlmStatus",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_nla": {
      "post": {
        "summary": "Browser Nla",
        "description": "Executes multi-turn autonomous web workflows driven by a high-level natural-language goal using the native Observe-Decide-Act loop. On each cycle, the native agent captures a compact OwlMark accessibility and layout snapshot capped by `observe_max_tokens`. It then plans the next atomic interaction—clicking handles, typing credentials, scrolling, or waiting—and verifies resulting DOM transitions until the goal succeeds. Execution is bounded by both `max_steps` iteration limits and a `max_runtime_ms` wall-clock deadline to prevent runaway loops on broken websites. If a run is paused, rate-limited, or hits an iteration ceiling, the returned payload includes an opaque `resume_checkpoint` handle. Supplying that checkpoint in a subsequent call continues execution seamlessly inside the same live session without losing prior progress, repeating completed form submissions, or resetting local application state.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Active workspace session where the autonomous Observe-Decide-Act agent loop will execute."
                  },
                  "command": {
                    "type": "string",
                    "description": "High-level natural-language goal describing the workflow for the autonomous agent to accomplish."
                  },
                  "max_steps": {
                    "type": "string",
                    "description": "Upper bound on observe-decide-act iteration cycles permitted before halting (1 to 100)."
                  },
                  "max_runtime_ms": {
                    "type": "string",
                    "description": "Wall-clock execution time budget in milliseconds before the autonomous run times out."
                  },
                  "observe_max_tokens": {
                    "type": "string",
                    "description": "Per-cycle token budget ceiling allocated to each OwlMark page observation snapshot."
                  },
                  "resume_checkpoint": {
                    "type": "string",
                    "description": "Opaque state string from a prior interrupted run used to resume execution in place."
                  }
                },
                "required": [
                  "context_id",
                  "command"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserNla",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_nla_status": {
      "post": {
        "summary": "Browser Nla Status",
        "description": "Retrieves real-time execution telemetry for a native Natural Language Agent workflow running or recently finished in a workspace. The returned diagnostic structure reports the current loop `phase` (such as observing, planning, acting, or idle) and the current `step` counter. It also includes a human-readable summary of the `last_action` dispatched against the page alongside boolean cancellation flags. External supervisors and UI dashboards poll this lightweight endpoint on a separate HTTP connection while a long-running autonomous goal is executing. Because telemetry is read from shared atomic state in the host coordinator, polling provides live observability into agent reasoning and progress without blocking the active V8 or renderer thread. Idle sessions return an inactive phase indicator with zeroed step counters and empty action history.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Workspace session identifier whose live autonomous agent telemetry should be queried."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserNlaStatus",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_nla_cancel": {
      "post": {
        "summary": "Browser Nla Cancel",
        "description": "Signals a running Natural Language Agent workflow inside the specified workspace to halt cleanly at the next safe checkpoint boundary. Rather than forcefully killing the renderer process or corrupting session cookies, cooperative cancellation sets an internal abort flag in the agent coordinator. That flag is checked between observation capture, language model inference, and atomic action dispatch phases. Any in-flight pointer click or page navigation finishes settling, after which the agent loop exits cleanly. The terminated run emits a structured partial result containing the history of actions completed so far plus a `resume_checkpoint` token for optional continuation later. Invoking this endpoint when no autonomous task is running returns immediately without raising an error, altering DOM nodes, or disturbing the loaded web application.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Workspace session handle where the active autonomous agent workflow should be cooperatively halted."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserNlaCancel",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_ai_click": {
      "post": {
        "summary": "AI Vision Click & Grounding",
        "description": "Locates and clicks an interactive page control described in plain English by combining multimodal vision analysis with DOM geometry grounding. The runtime captures the current viewport alongside annotated candidate bounding boxes and invokes the configured vision-language model. The model matches the user's visual or functional description—such as 'the blue submit button' or 'shopping cart icon in header'—and resolves the exact center coordinates. Next, the engine scrolls the matched target into view if necessary and dispatches a realistic pointer down/up sequence through the native input router. That sequence triggers authentic hover, focus, and click listeners in the page. Visual grounding excels when controls rely on obfuscated CSS classes, canvas rendering, or unlabelled SVG icons that defeat standard query selectors and XPath locators.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Workspace session where vision-guided target resolution and pointer click dispatch will occur."
                  },
                  "description": {
                    "type": "string",
                    "description": "Plain-English visual or semantic description of the button, link, or icon to click."
                  }
                },
                "required": [
                  "context_id",
                  "description"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserAiClick",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_ai_type": {
      "post": {
        "summary": "AI Form Input & Typing",
        "description": "Identifies an editable widget or text field from a natural-language description using AI vision grounding and enters the supplied string. First, the visual-semantic matcher analyzes the rendered viewport and accessibility cues to pinpoint the input matching phrases like 'promo code box' or 'recipient email address'. This resolution succeeds even when standard `<label>` associations, `name` attributes, or stable DOM IDs are missing or dynamically scrambled. Once located, the engine scrolls the target field into view, focuses it via a synthetic pointer click, and positions the text caret. Finally, it dispatches native keyboard and `input` events character by character so client-side validation hooks and reactive framework state update properly. The response payload confirms successful character entry and reports the resolved target bounding coordinates.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session handle where the vision-matched input field will be focused and populated."
                  },
                  "description": {
                    "type": "string",
                    "description": "Natural-language phrase describing which text box, search bar, or form area to target."
                  },
                  "text": {
                    "type": "string",
                    "description": "Character string to enter into the matched editable widget via synthetic keystroke events."
                  }
                },
                "required": [
                  "context_id",
                  "description",
                  "text"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserAiType",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_ai_extract": {
      "post": {
        "summary": "Browser Ai Extract",
        "description": "Harvests custom data entities requested in plain English by running an AI extraction pass over the current document's rendered content. Instead of authoring brittle XPath expressions or complex regular expressions, callers specify what information they need in everyday language. Prompts like 'all flight departure times and gate numbers' or 'the author bio and publication date' instruct the language model to synthesize matching values from the live DOM distillation. The engine normalizes scattered text fragments, tables, and list items into a clean, task-specific response payload. Because extraction relies on semantic comprehension rather than rigid class names, workflows adapt automatically to layout redesigns or localization differences across websites. No page state, scroll offset, or input focus is modified during this read-only pass.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Workspace session whose rendered content will be analyzed by the AI extraction pass."
                  },
                  "what": {
                    "type": "string",
                    "description": "Plain-English specification of the target data fields, entities, or list items to harvest."
                  }
                },
                "required": [
                  "context_id",
                  "what"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserAiExtract",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_ai_query": {
      "post": {
        "summary": "Browser Ai Query",
        "description": "Evaluates an open-ended natural-language question against the visual and structural condition of the active page using the AI inference pipeline. When invoked, the runtime combines DOM hierarchy, accessibility semantics, and visible text context so the model can reason about layout presence and interactive controls. Typical prompts include verifying 'Is there a two-factor authentication prompt visible?' or comparing product specifications displayed side by side in a table. The inference pipeline synthesizes contextual cues and returns a direct, grounded explanation without modifying document properties or triggering events. Automation scripts use this capability for intelligent conditional branching, visual assertions, and anomaly detection during complex flows. The synthesized answer is returned as a structured string in the response payload alongside execution status and latency metrics.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session identifier whose current page condition will be inspected to answer the question."
                  },
                  "query": {
                    "type": "string",
                    "description": "Open-ended natural-language question inquiring about page layout, controls, or visible information."
                  }
                },
                "required": [
                  "context_id",
                  "query"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserAiQuery",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_ai_analyze": {
      "post": {
        "summary": "Browser Ai Analyze",
        "description": "Executes a holistic AI structural and functional audit of the loaded document, returning a categorized breakdown of its interactive surface. The analyzer inspects heading hierarchies, landmark regions, forms, navigation menus, call-to-action buttons, and primary text blocks across the live DOM. From those signals, it synthesizes a comprehensive JSON report covering the page's core topic, content summary, structural layout, and actionable user flows. Autonomous planning agents invoke this deep inspection upon landing on an unfamiliar URL to understand available capabilities—such as login forms, search filters, or pagination controls—before formulating interaction strategies. The audit is strictly read-only, leaves all document state untouched, and completes in a single inference pass without scrolling the window, mutating focus, altering form controls, or triggering client-side analytics events.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Workspace handle whose active document will undergo comprehensive AI structural analysis."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserAiAnalyze",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_find_element": {
      "post": {
        "summary": "Browser Find Element",
        "description": "Resolves a natural-language description into ranked DOM candidates with CSS selectors, confidence scores, and bounding boxes. The built-in semantic matcher scores every visible node in the layout hierarchy by comparing accessible names, ARIA roles, placeholder attributes, surrounding label text, and visual prominence against the query phrase. Up to `max_results` top-scoring matches are returned in descending confidence order along with their tag names, visible text snippets, and generated unique selectors. This discovery pass is strictly non-destructive and never dispatches pointer or focus events. Workflows call this endpoint to inspect candidate targets, debug ambiguous descriptions, or cache deterministic selectors before executing clicks or assertions. If no visible nodes match the description, an empty candidate array is returned without raising a lookup fault.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session identifier where semantic candidate discovery and selector generation will run."
                  },
                  "description": {
                    "type": "string",
                    "description": "Natural-language phrase describing the control or group of nodes to locate on screen."
                  },
                  "max_results": {
                    "type": "string",
                    "description": "Upper limit on the number of ranked candidate matches returned (defaults to 5)."
                  }
                },
                "required": [
                  "context_id",
                  "description"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserFindElement",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_scroll_by": {
      "post": {
        "summary": "Browser Scroll By",
        "description": "Shifts the active document viewport by relative horizontal (`x`) and vertical (`y`) pixel offsets through the Chromium input compositor. Positive vertical values advance downward toward lower page content while negative values roll upward; similarly, positive horizontal values pan rightward across wide tables or canvases. Because displacement steps are routed through native wheel and gesture mechanics, `scroll` event listeners, IntersectionObserver callbacks, and lazy-loaded image triggers fire authentically. Setting `verification_level` to `basic`, `standard`, or `strict` instructs the runtime to confirm that `window.scrollY` or `scrollX` actually changed after the gesture settles. The response payload reports the updated viewport coordinates and verification outcome so callers can detect when a container has reached its physical boundary or when restrictive CSS overflow containment rules prevent viewport movement.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Workspace session whose active viewport will be shifted by the specified pixel amounts."
                  },
                  "y": {
                    "type": "string",
                    "description": "Signed vertical pixel distance (positive advances downward, negative rolls upward)."
                  },
                  "x": {
                    "type": "string",
                    "description": "Signed horizontal pixel distance (positive pans right, negative pans left; defaults to 0)."
                  },
                  "verification_level": {
                    "type": "string",
                    "description": "Post-gesture position check rigor ('none', 'basic', 'standard', or 'strict') verifying coordinate change."
                  }
                },
                "required": [
                  "context_id",
                  "y"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserScrollBy",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_scroll_to_element": {
      "post": {
        "summary": "Browser Scroll To Element",
        "description": "Smoothly scrolls the document and any nested scrollable containers until the specified target node rests centered in the viewport. Target resolution accepts an OwlMark token (`b7`), CSS selector (with optional `>> nth=N` disambiguation), screen coordinate pair, or natural-language phrase. Once resolved in the layout tree, the engine calculates the cumulative offsets across both the root window and overflow-scrollable parent divs. It then steps or animates the viewport position so sticky headers or floating footers do not obscure the node's interactive hit box. Bringing off-screen controls into view beforehand ensures subsequent pointer clicks, hover actions, or cropped screenshots succeed reliably. If the locator cannot be resolved in the current DOM hierarchy, a descriptive lookup error is returned immediately to the caller.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session handle where the document will scroll to center the target node."
                  },
                  "selector": {
                    "type": "string",
                    "description": "Target node identified via OwlMark handle, CSS expression, pixel coordinates, or natural phrase."
                  }
                },
                "required": [
                  "context_id",
                  "selector"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserScrollToElement",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_scroll_to_top": {
      "post": {
        "summary": "Browser Scroll To Top",
        "description": "Jumps the active document's scroll position directly to the origin `(0, 0)` at the very top of the page. The command resets the root scrolling container's vertical and horizontal offsets in the Blink layout viewport. It simultaneously dispatches native `scroll` notifications so sticky navigation bars, reading progress indicators, and floating back-to-top widgets update their visual states immediately. Behaviorally equivalent to pressing the keyboard `Home` key, this instant jump eliminates the need for repeated negative pixel steps after traversing long feeds or footer sections. Layout stabilization and repainting complete synchronously before the command returns to the caller or downstream orchestrating agent. The returned status object verifies that the top boundary was reached and reports the reset viewport coordinates for downstream assertions.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Workspace handle whose viewport scroll position will reset to the top origin."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserScrollToTop",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_scroll_to_bottom": {
      "post": {
        "summary": "Browser Scroll To Bottom",
        "description": "Advances the active document's vertical scroll offset directly to the maximum scrollHeight, positioning the viewport at the lowest boundary. When executed, the Blink scrolling coordinator jumps to the bottom edge and fires standard `scroll` and `IntersectionObserver` notifications across the page. This action is widely used to reach footer links, legal disclaimers, or pagination bars. It is equally effective for triggering sentinel observers in infinite-scroll feeds that fetch additional batches of items upon hitting the floor. Note that if asynchronous network payloads append new DOM nodes afterward, invoking the command again will advance to the newly extended bottom boundary. Once the viewport settles at the floor, the endpoint returns a success flag along with the final vertical offset reached by the viewport.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Workspace session whose viewport will jump directly to the bottommost scrollable boundary."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserScrollToBottom",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_wait_for_selector": {
      "post": {
        "summary": "Browser Wait For Selector",
        "description": "Suspends command execution until a node matching the specified locator attaches to the DOM and achieves visible geometry. Instead of blind fixed delays, the engine monitors DOM mutations and layout passes to verify both node presence and computed visibility (`display !== 'none'`, `visibility !== 'hidden'`, and non-empty bounding box). Callers can pass an OwlMark token, CSS expression (including `>> nth=N` index qualifiers), viewport coordinates, or semantic phrase together with a millisecond `timeout` budget. If the target materializes and paints within the allotted window, execution resumes immediately so downstream interactions can proceed without race conditions. If the deadline expires before the target becomes visible on screen, the command aborts cleanly and returns a structured timeout error payload describing the unattached target.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session identifier where the engine will monitor DOM mutations for target visibility."
                  },
                  "selector": {
                    "type": "string",
                    "description": "Locator (OwlMark handle, CSS query, coordinate pair, or semantic description) to await."
                  },
                  "timeout": {
                    "type": "string",
                    "description": "Maximum wait duration in milliseconds before raising a visibility timeout error (default 5000)."
                  }
                },
                "required": [
                  "context_id",
                  "selector"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserWaitForSelector",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_wait": {
      "post": {
        "summary": "Browser Wait",
        "description": "Suspends command pipeline execution for an explicit millisecond duration while background page tasks continue running normally. During this pause, the underlying Chromium event loop remains active, processing asynchronous JavaScript timers, layout recalculations, WebSocket frames, and media decoding without interruption. Only the sequential automation instruction queue halts until the timer expires. Once the requested interval elapses, the server responds with a completion confirmation containing the actual elapsed wall-clock time. Fixed sleeps introduce brittle timing assumptions and unnecessary latency when server responses fluctuate under load. Prefer deterministic synchronization primitives that observe DOM mutations, resource flight states, or predicate callbacks whenever an observable readiness signal exists. Reserve unconditional delays for rate-limiting outbound interactions, allowing CSS keyframe animations to settle, or debouncing rapid input sequences where no programmatic completion event fires.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Active session handle whose sequential command queue will pause during the requested timer interval."
                  },
                  "timeout": {
                    "type": "string",
                    "description": "Duration in milliseconds to suspend command dispatch before resuming subsequent automation steps."
                  }
                },
                "required": [
                  "context_id",
                  "timeout"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserWait",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_wait_for_network_idle": {
      "post": {
        "summary": "Browser Wait For Network Idle",
        "description": "Blocks automation progress until inflight HTTP, Fetch, and XMLHttpRequest connections remain at zero for a quiet window. The Chromium resource dispatcher tracks active socket requests, stylesheet downloads, script fetches, and asynchronous API calls initiated by the document. Every time the pending connection counter drops to zero, an internal countdown starts for the specified silence threshold. If a lazy-loaded image or script initiates another transfer before that countdown finishes, the timer resets and continues monitoring. When silence persists across the entire threshold, the command resolves with elapsed duration metadata. Should background polling, Server-Sent Events, or WebSocket heartbeats prevent quietness before the deadline expires, a timeout error is returned. This synchronization mechanism guarantees that dynamic single-page views finish hydrating data before extraction begins.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Target session identifier monitored for pending HTTP and asynchronous fetch activity."
                  },
                  "idle_time": {
                    "type": "string",
                    "description": "Continuous quiet period in milliseconds with zero active transfers required to declare readiness."
                  },
                  "timeout": {
                    "type": "string",
                    "description": "Maximum millisecond deadline to await connection quiescence before aborting with an error."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserWaitForNetworkIdle",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_wait_for_function": {
      "post": {
        "summary": "Browser Wait For Function",
        "description": "Repeatedly evaluates a custom JavaScript expression inside the active main-world execution realm until a truthy value returns. At each polling tick, the V8 engine compiles and runs the supplied snippet with full access to window globals, application stores, and document structures. Evaluation continues at the configured cadence until the callback yields a non-falsy result such as a populated array, boolean true, or resolved object reference. If the script throws an uncaught runtime exception or remains falsy past the maximum deadline, execution aborts and reports the failure reason. Polling intervals balance CPU overhead against detection latency for fast state transitions. Developers rely on this mechanism to synchronize with framework hydration flags, custom Redux store mutations, or computed layout properties that CSS locators cannot express.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session identifier specifying the V8 execution realm where the predicate script runs."
                  },
                  "js_function": {
                    "type": "string",
                    "description": "JavaScript body or expression evaluated periodically until it returns a truthy result."
                  },
                  "polling": {
                    "type": "string",
                    "description": "Millisecond delay between consecutive script evaluations inside the page main world."
                  },
                  "timeout": {
                    "type": "string",
                    "description": "Upper time bound in milliseconds allowed for the predicate to become truthy."
                  }
                },
                "required": [
                  "context_id",
                  "js_function"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserWaitForFunction",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_wait_for_url": {
      "post": {
        "summary": "Browser Wait For Url",
        "description": "Monitors top-level frame navigation events until the document location matches a target substring or wildcard glob expression. This synchronization barrier observes both full HTTP document loads and client-side History API transitions triggered via pushState or replaceState. Whenever the address bar updates, the matcher compares the current location string against the configured criteria using literal containment or wildcard expansion. Single-character question marks and multi-character asterisks allow flexible routing assertions across dynamic resource identifiers and query strings. Upon a successful match, the call resolves immediately and returns the final resolved destination address. If redirects stall or client routing fails to reach the expected path within the allotted time budget, an expiration exception is raised. It proves essential after form submissions, OAuth handshakes, and multi-step checkout flows.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session handle whose top-level document address is observed for navigation changes."
                  },
                  "url_pattern": {
                    "type": "string",
                    "description": "Expected destination substring or wildcard expression tested against the active document location."
                  },
                  "url": {
                    "type": "string",
                    "description": "Interchangeable alias for the pattern argument; ignored if the primary pattern field is present."
                  },
                  "is_regex": {
                    "type": "boolean",
                    "description": "Boolean flag enabling asterisk and question-mark wildcard matching instead of literal substring search."
                  },
                  "timeout": {
                    "type": "string",
                    "description": "Maximum wait duration in milliseconds before an unmatched location triggers a timeout failure."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserWaitForUrl",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_get_page_info": {
      "post": {
        "summary": "Browser Get Page Info",
        "description": "Retrieves a diagnostic snapshot of the current document metadata, navigation stack capabilities, readiness phase, and layout dimensions. The inspection queries the Blink frame host synchronously without mutating DOM nodes, firing synthetic events, or triggering layout thrashing. Returned fields include the canonical address, document title string, readiness state indicator, back and forward traversal availability flags, and viewport width and height. Readiness indicators reflect standard lifecycle stages from initial loading through interactive parsing to complete subresource acquisition. Traversal booleans reveal whether prior or subsequent entries exist on the session back-forward list before attempting step navigation. Automation workflows inspect this lightweight payload to confirm redirect landing pages, verify stack depth prior to stepping backward, and audit active screen geometry before capturing visual artifacts.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Unique session handle from which document metadata, traversal flags, and geometry are queried."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserGetPageInfo",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_set_viewport": {
      "post": {
        "summary": "Browser Set Viewport",
        "description": "Resizes the rendering surface width and height in CSS units to emulate desktop, tablet, or handheld screen geometries. Updating the outer frame dimensions immediately triggers Blink layout invalidation, recalculating percentage-based containers, flexbox grids, and CSS media query breakpoints. The window.innerWidth, window.innerHeight, and visualViewport APIs reflect the new measurements synchronously, firing standard resize events across registered listeners. Values below one hundred units are clamped automatically to prevent degenerate zero-area compositing buffers that break layout math. On containerized Linux hosts, individual axes cap at 2048 units and total surface area caps at four million square units through proportional downscaling. Engineers apply this adjustment to validate responsive navigation drawers, mobile-only touch layouts, or fixed-aspect screenshot framing during visual regression suites across multiple form factors.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Identifier of the rendering session whose visible drawing area will be resized."
                  },
                  "width": {
                    "type": "string",
                    "description": "Target horizontal dimension in CSS pixels, clamped to valid platform surface boundaries."
                  },
                  "height": {
                    "type": "string",
                    "description": "Target vertical dimension in CSS pixels, triggering immediate media query and layout recalculation."
                  }
                },
                "required": [
                  "context_id",
                  "width",
                  "height"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserSetViewport",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_reset_viewport": {
      "post": {
        "summary": "Browser Reset Viewport",
        "description": "Restores the rendering surface dimensions to the baseline screen resolution defined by the underlying virtual machine fingerprint. When an automation session launches, its hardware persona establishes default display geometry, commonly 1920 by 1080 units for standard desktop configurations. Calling this restoration endpoint discards any custom width or height overrides previously applied during responsive layout testing or mobile device emulation. Blink immediately recomputes document geometry, updates window dimension getters, and dispatches a native resize event to notify scripts of the restored area. Reverting to native persona dimensions prevents anti-bot fingerprint anomalies where inner window measurements diverge suspiciously from reported screen.width and screen.height properties. The response payload confirms the restored horizontal and vertical counts now governing the compositor frame buffer for subsequent interactions.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session handle whose display area will revert to its initial persona screen dimensions."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserResetViewport",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_zoom_in": {
      "post": {
        "summary": "Browser Zoom In",
        "description": "Increments the document magnification factor by ten percentage points up to a maximum ceiling of three hundred percent. The adjustment modifies the root CSS zoom scaling property on the active document, proportionally enlarging typography, vector graphics, raster images, and box-model spacing. Because scaling happens within the Blink layout engine, node bounding boxes expand and text lines reflow to fit the available horizontal container width. Repeated invocations step smoothly through ten-percent increments while clamping safely at the 300 percent upper boundary without throwing overflow errors. The return payload reports the updated magnification percentage so calling scripts can track cumulative scaling changes accurately. Magnifying page contents assists visual accessibility audits, high-resolution optical character extraction on tiny captions, and layout overflow testing under enlarged font metrics.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session identifier whose active document magnification will increase by one ten-percent step."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserZoomIn",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_zoom_out": {
      "post": {
        "summary": "Browser Zoom Out",
        "description": "Reduces rendered page scale by ten percentage points per call down to a minimum floor of ten percent. By lowering the root CSS zoom multiplier, the layout engine shrinks rendered text, inline media, and block containers so a larger portion of the document fits inside the visible frame. As boxes contract, multi-column grids and wide data tables condense, bringing off-screen rows and columns into view without requiring scroll operations. Successive calls step downward in ten-percent intervals and clamp cleanly once the ten-percent lower threshold is reached. The response object returns the newly applied scaling percentage for verification by the caller. Shrinking document scale proves especially effective when capturing full-dashboard overview snapshots or inspecting wide financial spreadsheets within a single raster capture.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Target session handle where rendered page scale will shrink by ten percent."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserZoomOut",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_zoom_reset": {
      "post": {
        "summary": "Browser Zoom Reset",
        "description": "Resets document magnification to the baseline one hundred percent scale, removing any prior enlargement or reduction overrides. The layout engine clears custom CSS zoom multipliers on the root node and recalculates box geometry at native one-to-one coordinate ratios. Typography metrics, bounding client rectangles, and scrollable overflow regions immediately return to their unscaled authoring dimensions across the entire view. Restoring baseline magnification ensures accurate coordinate hit-testing for subsequent pointer clicks, drag trajectories, and visual template matching routines. The operation completes synchronously in a single layout pass and returns confirmation of the restored 100 percent scale factor in its response payload. Invoke this reset after completing accessibility zoom checks or condensed overview captures to resume standard interaction workflows without coordinate drift or spatial distortion.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session handle whose document scaling factor will return to one hundred percent."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserZoomReset",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_get_console_log": {
      "post": {
        "summary": "Browser Get Console Log",
        "description": "Fetches captured JavaScript runtime messages emitted through console methods and unhandled exceptions within the target session. An internal ring buffer records entries generated by debug, info, warn, error, and verbose calls alongside stack traces, origin script URLs, and exact column numbers. Callers can narrow the returned array by specifying a severity tier, a case-sensitive substring pattern, or a maximum record cap. Filtering executes server-side before JSON serialization, minimizing payload size when inspecting noisy single-page web applications with heavy logging. Each returned object contains the capture timestamp, severity classification, formatted message text, and originating source location. Inspecting these runtime streams helps engineers surface silent GraphQL failures, React hydration warnings, Content Security Policy violations, and third-party script crashes during automated test runs.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session handle from whose internal ring buffer JavaScript messages are retrieved."
                  },
                  "level": {
                    "type": "string",
                    "description": "Optional severity tier filter such as debug, info, warn, error, or verbose."
                  },
                  "filter": {
                    "type": "string",
                    "description": "Case-sensitive substring that a recorded message must contain to be included."
                  },
                  "limit": {
                    "type": "string",
                    "description": "Maximum count of log records returned in the response payload."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserGetConsoleLog",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_clear_console_log": {
      "post": {
        "summary": "Browser Clear Console Log",
        "description": "Purges all accumulated JavaScript log entries from the session ring buffer to establish a clean baseline for subsequent steps. During long-running crawls or multi-page user journeys, thousands of third-party analytics warnings, network retries, and deprecation notices accumulate in memory. Flushing the buffer discards historical entries immediately without affecting live page state, active JavaScript closures, or attached DevTools observers. New messages emitted after the purge are indexed starting from an empty collection, ensuring that subsequent log queries reflect only recent interactions. The operation executes in constant time inside the host process and returns a confirmation status once buffer memory is reclaimed. Clearing logs right before triggering a critical form submission or checkout button isolates errors caused specifically by that single user action.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session identifier whose buffered JavaScript log records will be permanently purged."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserClearConsoleLog",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_start_video_recording": {
      "post": {
        "summary": "Browser Start Video Recording",
        "description": "Initializes an asynchronous FFmpeg encoding pipeline that captures rendered surfaces from the session into a continuous video artifact. As the Blink compositor produces damage updates, raw pixel buffers are piped at the configured cadence into the selected compression codec. Supported encoders include H.264, HEVC, VP8, VP9, and MPEG-4, provided the underlying host FFmpeg installation includes the corresponding shared library. Supplying an unsupported encoder name aborts initialization immediately with a validation error before spawning background worker threads or allocating disk files. Capture proceeds continuously in the background while automation commands navigate, scroll, and interact with the document until explicitly paused or terminated. Recorded media artifacts provide deterministic visual audit trails for compliance verification, complex bug reproduction, and stakeholder demonstrations across distributed teams.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session handle whose visual compositor output will be encoded into a video stream."
                  },
                  "fps": {
                    "type": "string",
                    "description": "Target capture rate in frames per second, balancing motion smoothness against file size."
                  },
                  "codec": {
                    "type": "string",
                    "description": "FFmpeg video encoder identifier such as libx264, libx265, vp8, vp9, or mpeg4."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "202": {
            "description": "Operation accepted for asynchronous processing.",
            "headers": {
              "Location": {
                "description": "URL to poll for job status.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AsyncJob"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserStartVideoRecording",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_pause_video_recording": {
      "post": {
        "summary": "Browser Pause Video Recording",
        "description": "Suspends frame ingestion into the active FFmpeg encoding pipeline without closing the output container or finalizing the file. While suspended, the Blink compositor continues rendering visual updates normally, but the capture worker drops incoming buffers and freezes the presentation timestamp clock. Any navigation, credential entry, or idle waiting performed during the suspended window is omitted seamlessly from the final media timeline without creating corrupt packets or visual artifacts. Calling this operation when no recording is active or when capture is already suspended returns an immediate state mismatch error to the caller. Pausing allows automation workflows to redact sensitive authentication steps or skip lengthy polling intervals while keeping a single unified MP4 artifact across an entire multi-stage test scenario from start to finish.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session identifier whose active video capture pipeline will temporarily stop ingesting frames."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserPauseVideoRecording",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_resume_video_recording": {
      "post": {
        "summary": "Browser Resume Video Recording",
        "description": "Restarts frame capture on a suspended video encoding pipeline, appending new compositor output seamlessly to the existing media stream. Upon resumption, the capture worker recalibrates presentation timestamps so playback transitions smoothly across the omitted interval without dead air, frozen pictures, or decoder glitches. The encoder continues operating with the identical frame rate, resolution, and compression codec configured when the session recording originally started. Invoking this endpoint when capture is already running or has been completely stopped yields an invalid lifecycle state error without modifying disk files or interrupting page execution. Resuming capture after completing sensitive login steps or waiting out slow batch jobs produces concise, continuous visual documentation focused strictly on relevant user interactions and application state changes.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session handle whose paused video encoding pipeline will resume capturing visual output."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserResumeVideoRecording",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_stop_video_recording": {
      "post": {
        "summary": "Browser Stop Video Recording",
        "description": "Terminates the active video capture worker, flushes buffered encoder packets, and writes the finalized MP4 container trailer to disk. Stopping the pipeline signals FFmpeg to complete B-frame reordering, write the MOOV atom index table, and close the file descriptor inside the temporary host storage directory. Until this finalization step completes, the media container remains incomplete and cannot be played back reliably by standard video decoders or streaming players. The response payload provides the absolute filesystem path to the saved recording alongside summary metrics such as total captured frames, file size, and elapsed duration. Once stopped, the recording cannot be resumed; subsequent visual capture requires starting a fresh encoding pipeline or retrieving the completed file through the download endpoint.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session identifier whose active or paused video recording will be finalized and saved."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserStopVideoRecording",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_get_video_recording_stats": {
      "post": {
        "summary": "Browser Get Video Recording Stats",
        "description": "Queries real-time telemetry from the video encoding subsystem, reporting lifecycle state, frame counters, duration, and estimated size. The returned status field indicates whether the background encoder is actively capturing, temporarily suspended, or completely idle at the moment of inspection. Frame telemetry tracks both total encoded pictures written to the container stream and any dropped buffers caused by host CPU contention. Reported duration reflects active recording time excluding paused intervals, while byte estimates track current temporary disk consumption in real time. This read-only inspection reads atomic counters in memory and imposes zero overhead on the compositor or FFmpeg worker threads. Monitoring telemetry allows long-running test harnesses to enforce disk quota limits, verify active capture before critical steps, and detect encoding bottlenecks early.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session handle queried for current video encoder status, frame counts, and storage metrics."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserGetVideoRecordingStats",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_download_video_recording": {
      "post": {
        "summary": "Browser Download Video Recording",
        "description": "Generates a temporary HTTP download address or retrieves the finalized MP4 media artifact produced by a completed session recording. Before invoking this retrieval endpoint, the active capture pipeline must be stopped so that MP4 container headers and seek tables are flushed cleanly to disk. Calling this operation while encoding is still running or paused returns a lifecycle precondition error informing the caller to finalize capture first. The returned payload supplies a direct retrieval link that remote test runners, continuous integration pipelines, or cloud archiving services can fetch over standard HTTP without requiring direct filesystem access to the host container. Temporary media links remain valid for a bounded retention window before automated cleanup reclaims host storage space and deletes stale recordings.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session handle whose finalized MP4 video recording will be exposed for HTTP retrieval."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "202": {
            "description": "Operation accepted for asynchronous processing.",
            "headers": {
              "Location": {
                "description": "URL to poll for job status.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AsyncJob"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserDownloadVideoRecording",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_start_live_stream": {
      "post": {
        "summary": "Browser Start Live Stream",
        "description": "Launches a real-time multipart MJPEG HTTP broadcast that streams live visual updates from the session to connected external viewers. A dedicated background worker samples the compositor output at the requested cadence and compresses each snapshot into an independent JPEG image at the specified quality tier. Images are pushed over a chunked HTTP response using multipart/x-mixed-replace boundaries, allowing standard web img tags, media players, and operator dashboards to render live video with sub-second latency. Tuning frame cadence and compression quality lets operators balance visual sharpness against outbound bandwidth consumption across remote links. The response returns the dedicated streaming endpoint URL and port ready for immediate viewer attachment by human supervisors, debugging consoles, or automated monitoring tools.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session handle whose live visual output will be broadcast over HTTP MJPEG."
                  },
                  "fps": {
                    "type": "string",
                    "description": "Target broadcast cadence in frames per second, typically configured between five and thirty."
                  },
                  "quality": {
                    "type": "string",
                    "description": "JPEG compression level from one (smallest payload) to one hundred (maximum fidelity)."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserStartLiveStream",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_stop_live_stream": {
      "post": {
        "summary": "Browser Stop Live Stream",
        "description": "Terminates an active MJPEG broadcast for the specified session, closing connected viewer sockets and releasing JPEG encoder buffers. When invoked, the streaming worker halts surface sampling from the Blink compositor, transmits a final multipart boundary termination sequence to attached HTTP clients, and frees memory allocated for image compression. The underlying automation session, its open tabs, and its loaded document remain completely unaffected and continue executing queued commands normally without interruption. Shutting down unneeded broadcasts reclaims host CPU cycles and outbound network bandwidth, particularly when orchestrating dozens of concurrent headless sessions on shared infrastructure. Invoking teardown when no broadcast is active returns a clean no-op status, while active streams return final transmission counters recorded prior to closing.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session identifier whose active MJPEG HTTP broadcast will be shut down immediately."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserStopLiveStream",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_get_live_stream_stats": {
      "post": {
        "summary": "Browser Get Live Stream Stats",
        "description": "Retrieves operational metrics for an active MJPEG broadcast, detailing viewer count, transmitted frames, bandwidth throughput, and uptime. The internal streaming multiplexer tracks every open HTTP client socket receiving multipart JPEG chunks alongside rolling byte transfer counters and active encoder settings. Inspecting these metrics enables control-plane dashboards to detect orphaned viewer connections, monitor network egress saturation, and verify whether surface delivery matches the configured target cadence. Querying telemetry reads in-memory atomic counters non-intrusively and does not interrupt ongoing image compression or client socket delivery. If no broadcast is currently running for the given session, the response indicates an inactive streaming state with zeroed throughput counters so callers can handle idle handles gracefully without raising runtime exceptions.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session handle queried for live MJPEG broadcast viewer counts and throughput telemetry."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserGetLiveStreamStats",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_list_live_streams": {
      "post": {
        "summary": "Browser List Live Streams",
        "description": "Enumerates all currently active MJPEG broadcasts across every running session managed by the server instance. Rather than querying individual handles one by one, this global discovery endpoint scans the central streaming registry and compiles an array of active broadcast descriptors in a single pass. Each descriptor includes the owning session identifier, the accessible HTTP stream address, configured cadence and JPEG compression parameters, connected viewer count, cumulative bytes sent, and uptime duration. If no broadcasts are currently active on the host, the endpoint returns an empty collection with a success status. Operations teams and fleet orchestrators use this global inventory to populate live monitoring walls, audit aggregate bandwidth usage across the host, and identify forgotten streams that should be shut down.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserListLiveStreams",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_get_live_frame": {
      "post": {
        "summary": "Browser Get Live Frame",
        "description": "Captures and returns the most recent JPEG snapshot from an active live broadcast buffer encoded as a base64 string. Instead of triggering a separate full-page screenshot pass through the Blink compositor, this operation reads the latest pre-compressed image directly from the streaming ring buffer in memory. Because the snapshot is already compressed by the broadcast worker, retrieval completes with near-zero latency and imposes no additional rendering load on the document. Requesting a snapshot while no live broadcast is running on the session returns an inactive stream error immediately to the caller. This lightweight grab is ideal for periodic dashboard thumbnails, AI vision agent observation loops, or health-check monitors that sample visual state every few seconds without maintaining a persistent multipart HTTP connection.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session identifier from whose active live broadcast buffer the latest image is read."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserGetLiveFrame",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_get_demographics": {
      "post": {
        "summary": "Browser Get Demographics",
        "description": "Aggregates environmental context for the host exit IP address, combining coordinates, local clock data, weather, and locale formatting. The service resolves the outbound routing address against an embedded GeoIP database, computes the regional time zone offset, and queries live meteorological observations for those coordinates. It also derives cultural formatting conventions including currency symbols, measurement systems, and primary language tags associated with that territory. All facets are returned in a unified JSON structure containing country and city names, ISO codes, temperature and sky conditions, and linguistic locale identifiers. Autonomous agents and localized scraping workflows use this synthesized profile to tailor search queries, match regional currency or date formats, and adapt conversational tone to the apparent physical environment of the user.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserGetDemographics",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_get_location": {
      "post": {
        "summary": "Browser Get Location",
        "description": "Resolves the physical geography associated with the server outbound IP address using MaxMind GeoIP lookup tables. Without requiring HTML5 Geolocation API permissions or active page navigation, the resolver inspects the external routing address and extracts city name, region subdivision, country name, ISO country code, postal prefix, latitude, longitude, and IANA time zone. Returned coordinates represent the approximate municipal centroid for the detected autonomous system or residential subnet block. If the host routes through an exit relay or residential tunnel, the lookup reflects the apparent location of that external egress point. Automation scripts invoke this lookup to verify that residential tunnels or SOCKS relays exit in the expected jurisdiction before visiting geo-fenced storefronts, localized pricing catalogs, or regionally restricted streaming platforms.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserGetLocation",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_get_datetime": {
      "post": {
        "summary": "Browser Get Datetime",
        "description": "Returns the current calendar date, wall-clock readout, day of the week, ISO-8601 stamp, and active zone from the host environment. The clock readout reflects either the operating system zone or any geographical zone alignment dynamically applied to the runtime environment for anti-detection consistency. Returned fields are broken down into structured components—four-digit year, month number, day of month, weekday name, 24-hour clock string, and UTC offset—alongside standard machine-parsable representations. Querying the host clock requires no active page navigation, network requests, or DOM access, executing instantaneously in memory with zero side effects. Autonomous agents and scheduled workflows query this endpoint to ground relative temporal expressions like 'tomorrow' or 'next Friday' when populating booking calendars, flight search widgets, and date-bounded financial filters.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserGetDatetime",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_get_weather": {
      "post": {
        "summary": "Browser Get Weather",
        "description": "Fetches real-time meteorological observations for the geographic coordinates tied to the current outbound IP location. After resolving latitude and longitude via GeoIP lookup, the subsystem queries external meteorological telemetry for ambient temperature, perceived wind-chill or heat-index temperature, relative humidity percentage, wind speed, barometric conditions, and precipitation status. Measurements are returned in structured metric and imperial units alongside concise sky condition labels such as clear, overcast, fog, or rain. If external meteorological providers are temporarily unreachable, the response reports the lookup failure gracefully without disrupting active automation sessions or throwing fatal errors. Context-aware agents and testing harnesses use live environmental data to validate weather-driven dynamic banners, regional retail recommendations, or travel advisory widgets that adapt content based on local climate conditions.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserGetWeather",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_detect_captcha": {
      "post": {
        "summary": "Browser Detect Captcha",
        "description": "Executes fast, non-visual DOM and script heuristics to determine whether the loaded document presents an anti-bot verification challenge. Rather than invoking heavy vision models, the detector scans frame URLs, script sources, shadow roots, widget container attributes, and known global variables associated with reCAPTCHA, Cloudflare Turnstile, H-Type CAPTCHA, and custom challenge forms. Because analysis operates purely on structural DOM markers and frame trees in memory, detection finishes in milliseconds with negligible CPU cost. The response supplies a boolean presence flag, a normalized confidence score between zero and one, and matched indicator metadata explaining which heuristic triggered. Workflows run this lightweight check after navigation to branch conditionally into challenge mitigation only when an obstacle actually blocks access to protected target content.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session handle whose DOM tree and embedded frames will be scanned for challenge markers."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserDetectCaptcha",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_classify_captcha": {
      "post": {
        "summary": "Browser Classify Captcha",
        "description": "Analyzes a detected verification challenge to categorize its interaction paradigm and map actionable DOM locators for its controls. The classifier distinguishes between distorted alphanumeric text boxes, multi-tile image selection grids, interactive checkboxes, slider puzzles, audio challenges, and vendor-specific widgets. In addition to reporting the taxonomy label and vendor identity, the analyzer locates the bounding containers, text input fields, audio or image refresh buttons, and submission triggers required to interact with the widget. Inspection traverses both main-frame nodes and cross-origin challenge iframes to build a complete structural map of the obstacle. Returning concrete CSS locators allows downstream solvers or custom scripts to target the exact iframe or shadow-hosted nodes needed to complete verification reliably without manual DOM inspection.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session identifier whose active verification widget will be categorized and mapped to locators."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserClassifyCaptcha",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_solve_text_captcha": {
      "post": {
        "summary": "Browser Solve Text Captcha",
        "description": "Resolves classic alphanumeric verification challenges by isolating the distorted character graphic and transcribing it via vision inference. The pipeline automatically locates the challenge image node in the DOM, renders its bitmap buffer, and normalizes contrast before passing the graphic to optical character recognition. Once decoded characters are returned by the model, the solver types the transcription into the paired text input field with natural keystroke cadence and triggers the submission control. If the server rejects the transcription and generates a fresh graphic, the retry loop repeats image capture and inference up to the configured attempt ceiling. The response reports final resolution success, the accepted character string, and total attempts consumed during the automated verification workflow.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session handle containing the distorted alphanumeric verification graphic and text input field."
                  },
                  "max_attempts": {
                    "type": "string",
                    "description": "Maximum transcription and submission retries allowed before declaring resolution failure."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserSolveTextCaptcha",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_solve_image_captcha": {
      "post": {
        "summary": "Browser Solve Image Captcha",
        "description": "Solves grid-based visual selection challenges like reCAPTCHA, H-Type CAPTCHA, and Turnstile using multimodal vision inference with numbered overlays. The solver extracts the target instruction prompt, composites indexed numeric badges over each candidate grid cell, and submits the annotated composite image to the vision model in a single pass. Inference returns the list of tile indices matching the requested object class, which the interaction engine clicks with humanized pointer trajectories before activating the verification button. Supplying an explicit vendor hint bypasses auto-detection heuristics and applies provider-specific iframe traversal rules immediately. If dynamic tiles regenerate in place or a secondary grid round appears, the solver iterates automatically up to the permitted attempt limit and reports final completion status to the caller.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session handle displaying the interactive tile-selection challenge or verification widget."
                  },
                  "max_attempts": {
                    "type": "string",
                    "description": "Maximum grid evaluation rounds attempted before halting the visual solver workflow."
                  },
                  "provider": {
                    "type": "string",
                    "description": "Optional vendor hint selecting auto, owl, recaptcha, cloudflare, or h_captcha rules.",
                    "enum": [
                      "auto",
                      "owl",
                      "recaptcha",
                      "cloudflare",
                      "h_captcha"
                    ]
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserSolveImageCaptcha",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_solve_captcha": {
      "post": {
        "summary": "Browser Solve Captcha",
        "description": "Provides a unified orchestration entry point that detects, classifies, and resolves any supported verification challenge on the active document. Upon invocation, the orchestrator runs heuristic detection and taxonomy classification to determine whether the page presents an interactive checkbox, distorted text graphic, or multi-tile image grid. It then dispatches the appropriate resolution strategy—executing humanized checkbox clicks, optical character transcription, or numbered-overlay vision grid selection—without requiring the caller to branch manually in application code. Vendor hints optionally accelerate widget discovery and iframe traversal for known providers like Turnstile, reCAPTCHA, or H-Type CAPTCHA. Built-in retry loops handle multi-round challenges up to the specified attempt cap and return detailed resolution telemetry including classified type, attempts taken, and final verification outcome.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session handle where automatic challenge detection, classification, and resolution will execute."
                  },
                  "max_attempts": {
                    "type": "string",
                    "description": "Upper bound on resolution retries across text or visual grid challenge rounds."
                  },
                  "provider": {
                    "type": "string",
                    "description": "Vendor optimization hint choosing between auto, h_captcha, cloudflare, recaptcha, or owl.",
                    "enum": [
                      "auto",
                      "owl",
                      "recaptcha",
                      "cloudflare",
                      "h_captcha"
                    ]
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "202": {
            "description": "Operation accepted for asynchronous processing.",
            "headers": {
              "Location": {
                "description": "URL to poll for job status.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AsyncJob"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserSolveCaptcha",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_get_cookies": {
      "post": {
        "summary": "Browser Get Cookies",
        "description": "Exports stored HTTP state entries from the session jar, returning complete attribute metadata for every matching record. Unlike document.cookie inside client-side JavaScript, which hides entries marked HttpOnly and omits scope metadata, this inspection queries the privileged Chromium Monster store directly in the host process. Every returned record includes the key name, value string, host or domain scope, path prefix, expiration Unix timestamp, Secure flag, HttpOnly flag, and SameSite enforcement policy. Supplying an optional target URL filters the exported array to records whose domain, path, and transport security attributes match that destination address. Automation workflows use this export to persist authenticated sessions across runs, audit security flags, or transfer login state into external HTTP clients for hybrid scraping.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session handle whose privileged HTTP state store will be queried for stored records."
                  },
                  "url": {
                    "type": "string",
                    "description": "Optional destination URL used to filter returned entries by matching domain and path scope."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserGetCookies",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_set_cookie": {
      "post": {
        "summary": "Browser Set Cookie",
        "description": "Injects a custom HTTP state entry directly into the privileged storage jar with fine-grained control over scope and security attributes. Writing directly to the Chromium Monster backend allows provisioning HttpOnly and Secure credentials or cross-subdomain prefixes before any page request is transmitted over the wire. The associated reference URL validates domain ownership rules, while a leading dot on the domain attribute exposes the item across all subdomains of that host. SameSite policies govern cross-origin attachment behavior, and a SameSite setting of none requires the Secure attribute to be enabled simultaneously or insertion will be rejected. Omitting the expiration timestamp or passing minus one creates a transient in-memory item that vanishes automatically when the workspace closes or tears down.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Workspace handle into whose privileged storage jar the state entry will be written."
                  },
                  "url": {
                    "type": "string",
                    "description": "Reference address used to validate domain matching rules when inserting the item."
                  },
                  "name": {
                    "type": "string",
                    "description": "Case-sensitive identifier key for the injected HTTP state attribute."
                  },
                  "value": {
                    "type": "string",
                    "description": "Raw string payload or authentication secret stored under the specified key."
                  },
                  "domain": {
                    "type": "string",
                    "description": "Host scope or leading-dot subdomain wildcard governing which servers receive the header."
                  },
                  "path": {
                    "type": "string",
                    "description": "URL path prefix required on outbound requests before the state header is attached."
                  },
                  "secure": {
                    "type": "boolean",
                    "description": "Boolean flag restricting transmission exclusively to encrypted HTTPS connections."
                  },
                  "httpOnly": {
                    "type": "boolean",
                    "description": "Boolean flag hiding the item from client-side document.cookie JavaScript access."
                  },
                  "sameSite": {
                    "type": "string",
                    "description": "Cross-site attachment policy set to strict, lax, or none for third-party requests.",
                    "enum": [
                      "none",
                      "lax",
                      "strict"
                    ]
                  },
                  "expires": {
                    "type": "string",
                    "description": "Unix epoch timestamp in seconds when the entry expires, or -1 for transient lifetime."
                  }
                },
                "required": [
                  "context_id",
                  "url",
                  "name",
                  "value"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserSetCookie",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_delete_cookies": {
      "post": {
        "summary": "Browser Delete Cookies",
        "description": "Removes stored HTTP state records from the privileged session jar globally, by matching origin URL, or by specific key name. Invoking deletion with neither a reference address nor a key name flushes the entire storage jar, immediately terminating authenticated sessions across all visited websites. Providing only an origin address purges records scoped to that host and path while leaving unrelated third-party credentials intact. Specifying a key name targets only matching entries, which can be narrowed further to a single host by combining it with a reference URL. Deletions take effect synchronously inside the Chromium storage backend before the next outbound request dispatches, making this operation ideal for testing logout flows, multi-account switching, or token expiration recovery.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session identifier whose privileged storage jar will be selectively or fully cleared."
                  },
                  "url": {
                    "type": "string",
                    "description": "Optional origin address restricting deletion to records matching that host and path."
                  },
                  "cookie_name": {
                    "type": "string",
                    "description": "Optional specific key name to remove; omit to purge all matching records."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserDeleteCookies",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_get_headers": {
      "post": {
        "summary": "Browser Get Headers",
        "description": "Extracts captured HTTP server metadata from the primary document navigation or from a matched subresource transfer in the traffic log. Every active session automatically records inbound server fields across main-frame loads, XHR calls, and asset fetches without requiring manual interceptor setup or external packet sniffers. When invoked without a filter URL, the lookup returns the key-value field map from the latest top-level document transfer. Supplying a target URL searches recent traffic history for a matching request and returns its raw server metadata, including Set-Cookie directives, Content-Security-Policy rules, rate-limit counters, CORS headers, and ETag validators. Inspecting raw transfer metadata enables security header auditing, CDN cache verification, and bearer token extraction during automated end-to-end testing.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session handle whose recorded HTTP traffic log will be queried for server metadata."
                  },
                  "url": {
                    "type": "string",
                    "description": "Optional request address substring used to locate fields from a particular asset transfer."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserGetHeaders",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_set_proxy": {
      "post": {
        "summary": "Browser Set Proxy",
        "description": "Reconfigures outbound traffic routing for an active session dynamically across HTTP, HTTPS, SOCKS, GAE, and residential tunnel intermediaries. Applying a new intermediary updates the Chromium connection pool immediately and optionally aligns the local IANA time zone with the exit IP geography to prevent fingerprint leaks. Selecting remote DNS resolution sends hostname lookups through the upstream server rather than the local machine, eliminating DNS leakage during sensitive crawls across restricted regions. For TLS inspection tools like mitmproxy or Charles, custom root CA certificates can be trusted dynamically at runtime without restarting the instance. When tunneling over Tor, circuit isolation signals the control port via NEWNYM so the workspace receives a dedicated exit IP address immediately upon configuration.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session handle whose outbound connection routing and stealth alignment will be reconfigured."
                  },
                  "type": {
                    "type": "string",
                    "description": "Tunneling protocol choice such as http, https, socks4, socks5, socks5h, gae, or owl_tunnel.",
                    "enum": [
                      "http",
                      "https",
                      "socks4",
                      "socks5",
                      "socks5h",
                      "gae",
                      "owl_tunnel"
                    ]
                  },
                  "host": {
                    "type": "string",
                    "description": "Hostname or IP address of the upstream server; omitted when using owl_tunnel."
                  },
                  "port": {
                    "type": "string",
                    "description": "Listening TCP port on the upstream host; omitted when routing via owl_tunnel."
                  },
                  "proxy_id": {
                    "type": "string",
                    "description": "Thirty-two character hex target identifier selecting a paired residential sidecar node."
                  },
                  "username": {
                    "type": "string",
                    "description": "Optional authentication user identifier required by protected upstream servers."
                  },
                  "password": {
                    "type": "string",
                    "description": "Optional authentication secret paired with the username for protected intermediaries."
                  },
                  "spoof_timezone": {
                    "type": "boolean",
                    "description": "Boolean enabling automatic time zone alignment with the exit IP geolocation."
                  },
                  "timezone_override": {
                    "type": "string",
                    "description": "Explicit IANA time zone string overriding automatic GeoIP location detection."
                  },
                  "ca_cert_path": {
                    "type": "string",
                    "description": "Filesystem path to a custom root CA certificate file for TLS interception."
                  },
                  "ca_key_path": {
                    "type": "string",
                    "description": "Filesystem path to the CA private key required by GAE per-domain certificate signing."
                  },
                  "trust_custom_ca": {
                    "type": "boolean",
                    "description": "Boolean authorizing the TLS verifier to trust the supplied custom root certificate."
                  },
                  "is_tor": {
                    "type": "boolean",
                    "description": "Boolean marking a Tor endpoint to enable per-session exit circuit isolation."
                  },
                  "tor_control_port": {
                    "type": "string",
                    "description": "TCP port for Tor control commands used to dispatch NEWNYM circuit rotation signals."
                  },
                  "tor_control_password": {
                    "type": "string",
                    "description": "Secret authenticating against the Tor control port when cookie auth is not used."
                  }
                },
                "required": [
                  "context_id",
                  "type"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserSetProxy",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_get_proxy_status": {
      "post": {
        "summary": "Browser Get Proxy Status",
        "description": "Queries the active outbound forwarding configuration, connection health, and anti-detection stealth state for the specified session. The diagnostic payload reports whether traffic flows directly or traverses an intermediary relay, detailing the active protocol scheme, upstream host and port, authentication status, and custom CA trust state. It also confirms whether time zone spoofing, remote DNS resolution, or Tor circuit isolation are currently engaged on the live Chromium socket pool. If no upstream relay is configured, the status explicitly indicates direct network egress with stealth overrides disabled. Automation scripts inspect this status summary before accessing sensitive targets to verify that dynamic routing changes succeeded and that environmental stealth protections remain synchronized with the active exit route.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session identifier queried for current outbound relay configuration and stealth alignment status."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserGetProxyStatus",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_connect_proxy": {
      "post": {
        "summary": "Browser Connect Proxy",
        "description": "Activates the preconfigured outbound relay server for an isolated session and routes all subsequent traffic through it. When invoked, the underlying Chromium networking stack updates its socket pool configuration and binds the active URLRequestContext to the designated upstream host, port, and authentication credentials. Existing persistent keep-alive connections are flushed immediately so that future DNS lookups, HTTP requests, and TLS handshakes originate exclusively from the intermediary endpoint rather than the local machine interface. If SOCKS5h or an encrypted residential tunnel is configured, hostname resolution is also delegated remotely to prevent address leakage during domain lookups. The returned JSON payload confirms activation status and reports the effective routing state. Invoking this command on an environment that lacks prior upstream settings returns a configuration error without disrupting active document loads or frame rendering.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Target session handle whose outbound traffic should be routed through its configured relay server."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserConnectProxy",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_disconnect_proxy": {
      "post": {
        "summary": "Browser Disconnect Proxy",
        "description": "Suspends upstream relay routing on the target session and restores unproxied connectivity through the host machine interface. Upon execution, the Chromium networking stack detaches custom proxy resolution rules from the running URLRequestContext while preserving stored endpoint credentials in memory for potential reconnection later. Open socket pools and idle HTTP/2 or QUIC streams are drained right away, forcing subsequent fetch requests, subresource loads, and WebSocket frames to establish standard TCP handshakes from the local IP address. This runtime toggle enables side-by-side latency comparisons, split-path debugging, or fallback recovery when an intermediary node becomes unresponsive during navigation. The returned JSON object indicates whether the transition to unproxied transport succeeded. Calling this operation when direct routing is already in effect returns cleanly without altering open socket connections or raising an error.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Running session identifier to detach from its upstream relay and return to host networking."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserDisconnectProxy",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_set_timezone": {
      "post": {
        "summary": "Browser Set Timezone",
        "description": "Overrides the active geographical time zone offset and IANA zone identifier across all execution frames within a running session at runtime. Once applied, the V8 JavaScript engine and Blink rendering layer immediately reflect the updated locale zone inside Intl.DateTimeFormat().resolvedOptions().timeZone, Date.prototype.getTimezoneOffset(), and localized timestamp formatting routines. Unlike static startup configuration, this dynamic adjustment propagates into both the top-level document and any nested child iframes without requiring a document refresh. Automation workflows commonly invoke this operation after inspecting an exit node's geolocation so that client-side temporal APIs align seamlessly with the apparent network origin, preventing anti-bot discrepancy flags. The endpoint validates that the supplied string conforms to standard Region/City notation between five and fifty characters before committing the change and returning confirmation.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Running session handle where the temporal zone override will be applied across all documents."
                  },
                  "timezone": {
                    "type": "string",
                    "description": "Standard IANA Area/Location identifier such as America/Chicago or Asia/Tokyo overriding current temporal offsets."
                  }
                },
                "required": [
                  "context_id",
                  "timezone"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserSetTimezone",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_create_profile": {
      "post": {
        "summary": "Browser Create Profile",
        "description": "Generates a portable identity snapshot with synthesized hardware fingerprints, noise seeds, and navigator traits as JSON. When called without a session reference, the engine samples its hardware catalog to construct a fresh persona featuring coherent User-Agent headers, screen dimensions, WebGL vendor strings, Canvas hash perturbations, and audio oscillator characteristics. Supplying an existing session handle instead captures the live environment's active fingerprint alongside its current cookie jar, upstream relay settings, and language model bindings. Because the resulting object is returned directly in the response body rather than written to server storage, callers can inspect or version-control the persona externally. Pairing this operation with disk persistence utilities allows deterministic identity reuse across distributed worker fleets. It also avoids regenerating device traits on every run or leaking state across environments.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Optional live session handle to snapshot; omit to synthesize a standalone randomized identity persona."
                  },
                  "name": {
                    "type": "string",
                    "description": "Human-readable label embedded inside the generated metadata to distinguish this persona among stored identities."
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserCreateProfile",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_load_profile": {
      "post": {
        "summary": "Browser Load Profile",
        "description": "Hydrates an existing session with hardware fingerprint parameters, persisted cookies, and runtime preferences read from a JSON persona file. During ingestion, the engine automatically inspects the payload structure to determine whether the content is plaintext JSON or a base64-encoded encrypted bundle produced by server export utilities, decrypting it transparently before application. It then reconfigures the target instance's User-Agent client hints, WebGL renderer metadata, Canvas and audio noise seeds, and injects the stored HTTP cookie jar into the active storage partition. Applying a saved persona ensures that returning visits to anti-fraud protected origins exhibit identical device characteristics and authenticated state across separate execution runs. If the specified file path is unreadable, missing, or structurally malformed, the call aborts immediately and reports a descriptive validation error.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Destination session handle that will receive the imported identity attributes and stored cookie state."
                  },
                  "profile_path": {
                    "type": "string",
                    "description": "Filesystem location or multipart upload payload containing the plaintext or encrypted JSON persona bundle."
                  }
                },
                "required": [
                  "context_id",
                  "profile_path"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserLoadProfile",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_save_profile": {
      "post": {
        "summary": "Browser Save Profile",
        "description": "Serializes the session's live identity configuration, hardware spoofing seeds, and authentication cookies into a server file. During execution, the engine queries the active storage partition to flush all in-memory session and persistent cookies, combines them with the instance's deterministic VM fingerprint parameters, and writes the consolidated record to disk. If the provided filename omits the standard `.json` suffix, the storage handler appends it automatically and sanitizes path separators so files remain confined to the managed workspace directory. The resulting JSON reply contains the canonical filename, which can subsequently be passed to export endpoints for off-server backup or reloaded into future instances. Attempting to persist state from a closed or nonexistent handle fails immediately with a lookup error before any disk write occurs.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Source session handle whose live fingerprint configuration and cookie jar will be written to disk."
                  },
                  "profile_name": {
                    "type": "string",
                    "description": "Base filename without directory segments used to store the serialized persona on the server."
                  }
                },
                "required": [
                  "context_id",
                  "profile_name"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserSaveProfile",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_download_profile": {
      "post": {
        "summary": "Browser Download Profile",
        "description": "Retrieves a previously persisted identity file from the server directory and returns its encrypted contents as a base64-encoded string. By reading directly from the centralized storage repository, this operation can export any saved persona by name regardless of which session originally wrote the file or whether that instance remains open. If the requested filename lacks a `.json` extension, the lookup resolver appends it automatically before locating the record on disk. The exported payload is cryptographically wrapped so sensitive session tokens, authentication cookies, and custom relay credentials can traverse untrusted networks or rest in external databases safely. Callers can later pass the resulting archive directly into identity ingestion endpoints, which detect and unwrap the cipher format without manual pre-processing or external key management.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Active session handle authorizing the file retrieval request against the server storage repository."
                  },
                  "profile_name": {
                    "type": "string",
                    "description": "Filename of the saved persona record on disk to export as base64-encoded encrypted content."
                  }
                },
                "required": [
                  "context_id",
                  "profile_name"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserDownloadProfile",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_get_profile": {
      "post": {
        "summary": "Browser Get Profile",
        "description": "Exports the complete in-memory identity descriptor and runtime state of an active session as unencrypted JSON without disk writes. Upon invocation, the engine gathers the instance's assigned virtual machine parameters, including User-Agent strings, screen geometry, GPU vendor identifiers, Canvas hash seeds, and WebGL capabilities. Alongside these hardware traits, the readout includes a live dump of all cookies currently held in the storage partition, plus active language model settings and upstream relay configurations attached to the environment. Engineers use this diagnostic readout to audit whether anti-detection spoofing values match expected regional or operating system distributions. It also verifies that authentication tokens were properly populated after an interactive login flow. The returned structure mirrors the exact schema consumed by persona restoration tools.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Identifier of the running session whose live identity configuration and cookie store will be inspected."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserGetProfile",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_update_profile_cookies": {
      "post": {
        "summary": "Browser Update Profile Cookies",
        "description": "Synchronizes the live cookie jar from an active session back into its linked on-disk persona file without altering fingerprint fields. When web applications rotate refresh tokens, issue new session identifiers, or update CSRF state during navigation, calling this endpoint flushes the latest cookie values from Chromium's in-memory Monster store. Those updated credentials are then merged directly into the persisted JSON record on the server. Preserving the existing virtual machine seeds, screen metrics, and relay settings avoids unintended mutations to the device identity while keeping authentication state current for subsequent runs. This targeted write operation requires that the session was either initialized from or previously linked to a saved persona on disk; otherwise, the storage layer returns a missing-association error to the caller.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Running session handle whose updated cookie jar will be merged into its linked disk persona."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserUpdateProfileCookies",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_get_context_info": {
      "post": {
        "summary": "Browser Get Context Info",
        "description": "Inspects the low-level anti-detection stealth telemetry and virtual machine identity bindings currently active within a specific session. Unlike full persona exports that dump cookies and network preferences, this lightweight diagnostic query focuses exclusively on the cryptographic spoofing seeds and hardware emulation layer enforced by the native rendering engine. The returned JSON structure exposes the internal `vm_id`, deterministic Canvas perturbation seed, WebAudio oscillator noise seed, and spoofed GPU vendor and renderer strings reported to WebGL contexts. Security researchers and automation engineers rely on these metrics to verify fingerprint diversity across concurrent worker pools and to correlate specific evasion parameters with target site behavior. Querying an invalid, expired, or terminated handle fails right away with a missing-session error and causes no side effects.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Active session handle queried for virtual machine identifiers and deterministic fingerprint noise seeds."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserGetContextInfo",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_add_network_rule": {
      "post": {
        "summary": "Browser Add Network Rule",
        "description": "Registers an interception filter inside the Chromium resource dispatcher to allow, block, redirect, or mock HTTP traffic by URL pattern. When outgoing subresource fetches, XHR calls, or document navigations occur, the engine evaluates their destination addresses against compiled glob expressions or POSIX regular expressions before opening a socket. Qualifying traffic can be dropped at the transport layer to eliminate third-party telemetry, transparently rerouted to an alternate endpoint, or fulfilled locally using a custom status code, MIME header, and text payload without touching the wire. Each registered filter receives a unique identifier returned in the response payload, enabling selective removal later. Note that registered filters only take effect while request interception is enabled for the target instance in the worker pool.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Target session handle where the URL interception filter will be registered."
                  },
                  "url_pattern": {
                    "type": "string",
                    "description": "Glob wildcard string or regular expression compared against outgoing request URLs."
                  },
                  "action": {
                    "type": "string",
                    "description": "Disposition applied to qualifying traffic: allow pass-through, block transport, synthesize response, or redirect.",
                    "enum": [
                      "allow",
                      "block",
                      "mock",
                      "redirect"
                    ]
                  },
                  "is_regex": {
                    "type": "boolean",
                    "description": "Boolean flag instructing the evaluator to compile url_pattern as a regular expression instead of glob."
                  },
                  "redirect_url": {
                    "type": "string",
                    "description": "Destination address substituted when the filter disposition is set to redirect."
                  },
                  "mock_body": {
                    "type": "string",
                    "description": "Synthetic text, JSON, or HTML payload returned locally when the disposition is set to mock."
                  },
                  "mock_status": {
                    "type": "string",
                    "description": "Numeric HTTP status code such as 200 or 404 attached to synthetic local responses."
                  },
                  "mock_content_type": {
                    "type": "string",
                    "description": "MIME type header such as application/json sent with synthetic local responses."
                  }
                },
                "required": [
                  "context_id",
                  "url_pattern",
                  "action"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserAddNetworkRule",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_remove_network_rule": {
      "post": {
        "summary": "Browser Remove Network Rule",
        "description": "Deletes a specific URL interception filter from the session's active resource dispatcher table using its assigned identifier. Once removed, the engine immediately stops evaluating subsequent HTTP, HTTPS, and XHR requests against that pattern, allowing previously blocked, mocked, or redirected endpoints to flow through standard transport paths or fall back to remaining lower-priority filters. In-flight transfers that have already passed the pre-request hook prior to removal complete under their initial disposition without interruption. This granular teardown mechanism lets test harnesses inject temporary fault conditions—such as simulated 500 server errors or offline API responses—and restore normal connectivity once recovery assertions finish. Supplying an unknown or previously removed identifier returns a not-found status without affecting other active filters inside the session dispatcher table.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session handle owning the interception table from which the filter will be deleted."
                  },
                  "rule_id": {
                    "type": "string",
                    "description": "Unique identifier returned when the target interception filter was originally registered."
                  }
                },
                "required": [
                  "context_id",
                  "rule_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserRemoveNetworkRule",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_enable_network_interception": {
      "post": {
        "summary": "Browser Enable Network Interception",
        "description": "Toggles the master request-interception hook inside the session's networking service without deleting or altering stored URL filters. When activated, every outgoing navigation, stylesheet fetch, script load, and asynchronous API call pauses at the pre-flight stage so the evaluator can apply registered block, mock, or redirect dispositions. Switching the flag off bypasses the pattern evaluation pipeline entirely, allowing all traffic to proceed straight to the transport layer at full speed while keeping configured filters intact for later reactivation. This non-destructive switch is particularly useful when warming up caches or completing third-party authentication flows before enforcing strict request mocking. Either `enable` or `enabled` may be supplied in the request payload, with `enable` taking precedence whenever both boolean fields appear in the call.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session handle whose master request-interception pipeline will be switched on or off."
                  },
                  "enable": {
                    "type": "boolean",
                    "description": "Primary boolean switch; true activates filter evaluation and false bypasses all registered patterns."
                  },
                  "enabled": {
                    "type": "boolean",
                    "description": "Interchangeable boolean alias for enable; ignored if the primary enable field is also present."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserEnableNetworkInterception",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_get_network_log": {
      "post": {
        "summary": "Browser Get Network Log",
        "description": "Fetches the chronological buffer of captured HTTP transactions recorded within the target session for traffic auditing and protocol debugging. Each entry in the returned array details the request method, full destination URL, request and response header maps, numeric status code, MIME classification, timing metadata, and transferred payload byte count. Because continuous packet inspection introduces memory overhead, the engine only populates this ring buffer after traffic capture has been explicitly turned on for the instance. Automation scripts inspect these records to extract bearer tokens from background XHR headers, verify that analytics beacons fired with expected query parameters, or diagnose failing GraphQL mutations that produce no visible DOM error. Reading the buffer does not purge or reset existing transaction entries in memory.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session handle from which captured HTTP request and response records will be retrieved."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserGetNetworkLog",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_get_network_rules": {
      "post": {
        "summary": "Browser Get Network Rules",
        "description": "Enumerates all URL interception filters registered inside the session's resource dispatcher, whether master filtering is active or not. The response payload contains a structured array where each element exposes its unique identifier, pattern string, regular expression flag, and configured disposition (`allow`, `block`, `mock`, or `redirect`). For synthetic or rerouted entries, the readout also includes the associated destination URL, HTTP status code, Content-Type header, and response body template. Inspecting this table allows orchestration layers to audit active traffic policies, avoid registering duplicate wildcard patterns, and harvest identifiers needed for selective teardown during multi-stage test suites. When no filters have been configured on the target instance, the endpoint returns an empty JSON array without raising an error or mutating current dispatcher state.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session handle whose registered URL interception filters will be listed."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserGetNetworkRules",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_clear_network_log": {
      "post": {
        "summary": "Browser Clear Network Log",
        "description": "Purges all accumulated HTTP transaction records from the session's in-memory capture buffer and reclaims the associated heap allocations. During long-running scraping workflows or single-page applications that poll background endpoints continuously, thousands of request and response metadata structures can accumulate and degrade worker memory efficiency. Invoking this cleanup operation resets the transaction list to zero entries while leaving the underlying logging state and any active interception filters untouched. Consequently, subsequent traffic continues recording seamlessly without interruption. Engineers also call this endpoint immediately before triggering a specific user interaction, such as submitting a checkout form, so that the next log readout contains only the exact requests generated by that isolated action. Calling it on an already empty buffer succeeds cleanly without error.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session handle whose captured HTTP transaction buffer will be emptied."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserClearNetworkLog",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_enable_network_logging": {
      "post": {
        "summary": "Browser Enable Network Logging",
        "description": "Controls whether the native transport observer records metadata for outgoing requests and incoming responses into the transaction buffer. When activated, the engine attaches lifecycle listeners to the URLRequest pipeline to capture URLs, HTTP verbs, status codes, header dictionaries, and byte lengths across all frames and web workers. Turning capture off detaches these observers so high-volume browsing proceeds without allocating memory for telemetry objects. Any records already collected prior to deactivation remain readable until explicitly cleared via the buffer purge endpoint. Omitting both boolean flags defaults to activating capture immediately across the target instance. Whenever both `enable` and `enabled` are provided inside the JSON arguments, the value assigned to `enable` governs the resulting observer state and returns a status confirmation.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session handle where HTTP traffic metadata capture will be started or stopped."
                  },
                  "enable": {
                    "type": "boolean",
                    "description": "Boolean flag to start (true) or stop (false) recording HTTP transaction metadata; defaults to true."
                  },
                  "enabled": {
                    "type": "boolean",
                    "description": "Optional boolean alias for enable; superseded whenever the primary enable parameter is supplied."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserEnableNetworkLogging",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_disable_network_interception": {
      "post": {
        "summary": "Browser Disable Network Interception",
        "description": "Deactivates the request-interception pipeline for the specified session so outbound HTTP and WebSocket traffic bypasses registered URL filters. Functionally equivalent to invoking the interception toggle endpoint with a false flag, this dedicated convenience command detaches the pre-request pattern matcher from the instance's resource loader in a single step. All previously added block, mock, and redirect definitions remain preserved in memory, allowing workflows to resume filtering later without reconstructing complex regular expressions or synthetic payloads. Ongoing transfers that were already matched before deactivation finish under their prior disposition, while every subsequent fetch flows unhindered through standard network sockets without evaluation overhead. Invoking this command when filtering is already disabled finishes immediately as a harmless no-op and returns a clean success confirmation.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session handle where URL pattern filtering should be bypassed while retaining stored definitions."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserDisableNetworkInterception",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_disable_network_logging": {
      "post": {
        "summary": "Browser Disable Network Logging",
        "description": "Stops the collection of HTTP request and response telemetry for the specified session to conserve memory and processor cycles. Acting as a direct shorthand for setting the traffic logging switch to false, this command unhooks the lifecycle observers from the instance's Chromium URLRequest dispatcher immediately. Any historical transaction entries captured prior to deactivation remain intact inside the ring buffer and can still be queried or purged at leisure. Meanwhile, subsequent page loads, image fetches, and background API calls execute silently without allocating new log structures on the heap. Orchestration scripts commonly invoke this endpoint after completing diagnostic captures around login or checkout flows so that bulk browsing proceeds without telemetry overhead, extra serialization cost, or unnecessary V8 garbage collection pressure.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session handle where network transaction telemetry recording should be halted immediately."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserDisableNetworkLogging",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_set_download_path": {
      "post": {
        "summary": "Browser Set Download Path",
        "description": "Designates the local filesystem directory where file exports initiated within the target session will be written without user prompts. When a navigation or clicked anchor triggers a `Content-Disposition: attachment` response or a blob stream, the CEF download handler intercepts the incoming data. It suppresses any native operating system save-as dialog and streams the incoming bytes directly into the configured folder using the server-suggested filename. The target directory must already exist on the host machine and grant write permissions to the worker process; otherwise, validation fails before any transfer begins. Configure this destination prior to triggering file exports so incoming streams have a valid filesystem sink immediately upon response header arrival and avoid default temporary directory fallbacks during unattended automated runs.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session handle whose export handler will write incoming attachments into the specified folder."
                  },
                  "path": {
                    "type": "string",
                    "description": "Existing, writable absolute directory path on the host filesystem for storing downloaded attachments."
                  }
                },
                "required": [
                  "context_id",
                  "path"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserSetDownloadPath",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_get_downloads": {
      "post": {
        "summary": "Browser Get Downloads",
        "description": "Returns a comprehensive inventory of all file downloads initiated within the session, covering queued, active, finished, and aborted items. Every entry in the returned JSON list provides the unique transfer identifier, source URL, resolved local filename, destination directory, received byte count, and total expected byte size. It also reports the calculated completion percentage and current lifecycle state (`pending`, `in_progress`, `completed`, `failed`, or `cancelled`). Automation workflows query this ledger to discover newly spawned transfer identifiers after clicking export buttons or to verify the final on-disk location of saved archives. Unlike filtered queries that only inspect live streams, this endpoint retains historical records for the entire lifetime of the session so post-run audits can verify every single transfer in full detail.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session handle whose full ledger of historical and active file transfers will be queried."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserGetDownloads",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_get_active_downloads": {
      "post": {
        "summary": "Browser Get Active Downloads",
        "description": "Queries the session's transfer manager and returns only those file streams currently in the `in_progress` or `pending` state. By filtering out historical finished, cancelled, and failed items at the native C++ layer, this lightweight readout minimizes payload size. That efficiency is critical when polling high-frequency progress metrics during large archive or media fetches. Each returned object includes the transfer identifier, origin URL, target filename, bytes written so far, total content length when advertised by the remote server, and real-time percentage completion. Once a stream finishes writing to disk or aborts due to a transport error, it automatically drops out of this active view. Completed items remain accessible solely through the full transfer ledger for post-completion inspection and local path verification.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session handle queried for currently streaming or queued file transfers."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserGetActiveDownloads",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_wait_for_download": {
      "post": {
        "summary": "Browser Wait For Download",
        "description": "Suspends command execution until a specific download identified by its handle finishes flushing to storage or times out. In multi-process architectures, supplying the owning session handle ensures the request routes to the exact isolated process managing that stream's CEF download callback. While blocked, the engine monitors byte stream events and resolves with a boolean completion status as soon as the operating system closes the output descriptor cleanly. If the stream aborts due to a socket reset or fails to finish before the millisecond deadline expires, the call returns a timeout or failure error. After resolution, callers can query the transfer ledger to inspect the resolved disk path, verified byte count, and terminal state on disk before parsing the saved archive.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session handle required to route the synchronization request to the process managing the stream."
                  },
                  "download_id": {
                    "type": "string",
                    "description": "Unique transfer handle retrieved from the session's download ledger."
                  },
                  "timeout": {
                    "type": "string",
                    "description": "Maximum wait duration in milliseconds before aborting the synchronization check; defaults to 30000."
                  }
                },
                "required": [
                  "download_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserWaitForDownload",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_cancel_download": {
      "post": {
        "summary": "Browser Cancel Download",
        "description": "Aborts an ongoing file transfer immediately, closes the underlying network read socket, and removes any partial temporary data on disk. Routing the cancellation requires both the owning session handle—so the dispatcher targets the correct isolated worker process—and the specific transfer identifier assigned when the download started. Upon receipt, the native CEF download item invokes its cancel callback. It then sends a TCP reset or HTTP/2 termination frame to the remote server and transitions the record's state to `cancelled` inside the session ledger. Invoking this command on a transfer that has already finished or terminated earlier returns cleanly without deleting finalized archives, corrupting completed files, or raising an exception to the client controller during cleanup routines and teardown phases.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session handle that owns the active file transfer in multi-process execution environments."
                  },
                  "download_id": {
                    "type": "string",
                    "description": "Identifier of the in-progress download item to terminate and clean up."
                  }
                },
                "required": [
                  "download_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserCancelDownload",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_set_dialog_action": {
      "post": {
        "summary": "Browser Set Dialog Action",
        "description": "Defines the standing automated response policy for native JavaScript prompts (`alert`, `confirm`, `prompt`, and `beforeunload`) within a session. Because synchronous browser alerts freeze the V8 execution thread and halt page rendering until answered, configuring a pre-emptive disposition per category prevents unattended scripts from hanging indefinitely. Depending on the selected policy, the CEF JSDialogHandler can immediately click OK, trigger Cancel, inject a predefined text string into an input box before accepting, or hold the overlay open in a suspended state. When held via `wait`, an external controller can inspect and resolve the overlay manually using dedicated resolution commands. Each category maintains its own independent rule across page navigations, form submissions, and frame reloads throughout the entire active session lifecycle.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session handle where the automated JavaScript prompt resolution policy will be configured."
                  },
                  "dialog_type": {
                    "type": "string",
                    "description": "Category to govern: alert notification, confirm choice, prompt text box, or beforeunload warning.",
                    "enum": [
                      "alert",
                      "confirm",
                      "prompt",
                      "beforeunload"
                    ]
                  },
                  "action": {
                    "type": "string",
                    "description": "Automatic disposition: accept, dismiss, accept_with_text input, or wait for manual resolution.",
                    "enum": [
                      "accept",
                      "dismiss",
                      "accept_with_text",
                      "wait"
                    ]
                  },
                  "prompt_text": {
                    "type": "string",
                    "description": "Default string injected into input fields when action is set to accept_with_text."
                  }
                },
                "required": [
                  "context_id",
                  "dialog_type",
                  "action"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserSetDialogAction",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_get_pending_dialog": {
      "post": {
        "summary": "Browser Get Pending Dialog",
        "description": "Inspects whether the session's main execution thread is currently blocked by an unresolved JavaScript prompt awaiting manual intervention. When a page invokes `window.alert()`, `window.confirm()`, `window.prompt()`, or triggers a `beforeunload` event under a `wait` policy, the native JSDialogHandler captures the event. It then suspends script execution across the frame until an explicit decision arrives. Querying this endpoint returns the active overlay's unique identifier, classification, message body text, and default input string if present, or an empty result when no prompt is blocking the document. Automation controllers use this readout to inspect dynamic confirmation warnings, verify expected validation text, and retrieve the exact handle required to accept or dismiss the overlay programmatically before resuming normal DOM interaction and input dispatch.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session handle to poll for an active, unresolved JavaScript prompt blocking script execution."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserGetPendingDialog",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_get_dialogs": {
      "post": {
        "summary": "Browser Get Dialogs",
        "description": "Retrieves the chronological audit log of all JavaScript alert, confirm, prompt, and unload events triggered within the target session. This historical collection encompasses both automatically resolved notifications and any currently pending overlays awaiting manual action. Every item in the returned JSON array captures the event identifier, classification, displayed message string, default input value, resolution status, and the disposition applied. Because auto-dismissed or auto-accepted warnings vanish instantaneously without pausing V8 execution, engineers query this ledger after form submissions or state transitions to verify whether client-side validation messages were raised by page scripts. The event history persists in memory for the duration of the session so test suites can assert against every modal interaction and audit user-facing error notices in sequence.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session handle whose chronological audit log of resolved and pending JavaScript prompts will be read."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserGetDialogs",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_handle_dialog": {
      "post": {
        "summary": "Browser Handle Dialog",
        "description": "Resolves a specific suspended JavaScript modal by its identifier, unblocking the page's V8 execution thread and delivering the chosen decision. In multi-process deployments, the session handle directs the command to the exact isolated renderer host holding the native CEF JSDialogCallback reference. Setting `accept` to true simulates clicking OK or Yes—delivering `true` to `window.confirm()` or supplying `response_text` to `window.prompt()`—whereas setting `accept` to false simulates clicking Cancel. A false disposition leaves the document open during `beforeunload` checks or yields `null` to text-input callers. Attempting to resolve an unknown or previously dismissed modal identifier produces a missing-item error without disrupting active page state, corrupting DOM listeners, or halting ongoing background script execution inside the target frame.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session handle directing the resolution callback to the process holding the suspended modal."
                  },
                  "dialog_id": {
                    "type": "string",
                    "description": "Unique identifier of the suspended modal obtained from pending overlay queries."
                  },
                  "accept": {
                    "type": "boolean",
                    "description": "Boolean decision; true confirms or accepts the overlay while false cancels or dismisses it."
                  },
                  "response_text": {
                    "type": "string",
                    "description": "Custom string delivered to window.prompt() callers when accepting an input box."
                  }
                },
                "required": [
                  "dialog_id",
                  "accept"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserHandleDialog",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_wait_for_dialog": {
      "post": {
        "summary": "Browser Wait For Dialog",
        "description": "Blocks command execution until a JavaScript alert, confirm, prompt, or unload warning appears within the session or the timeout elapses. When automated clicks or form submissions trigger asynchronous network validation before invoking a native browser modal, polling immediately may miss the event entirely. To prevent race conditions, this synchronization primitive subscribes directly to the CEF JSDialogHandler event stream and resolves as soon as the native hook fires. Upon detection, the response payload provides the newly spawned overlay's identifier, classification, and message text so the caller can inspect and resolve it. If no modal surfaces within the configured millisecond deadline, the call aborts cleanly and raises a descriptive timeout error back to the waiting test runner or workflow orchestrator.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session handle monitored for incoming native modal notifications or unload warnings."
                  },
                  "timeout": {
                    "type": "string",
                    "description": "Maximum wait time in milliseconds before raising a timeout error; defaults to 5000."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserWaitForDialog",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_set_popup_policy": {
      "post": {
        "summary": "Browser Set Popup Policy",
        "description": "Configures how the session intercepts child view creation requests triggered by `window.open()`, `target=\"_blank\"` anchors, or form submissions. Inside the native CEF LifeSpanHandler `OnBeforePopup` callback, the engine inspects the active policy to determine how to route the request. Available dispositions can spawn a standalone frame (`allow`), suppress creation entirely (`block`), redirect the navigation into a newly focused foreground document (`new_tab`), or open it silently in the background (`background`) without stealing focus. When set to `block`, suppressed destination URLs are recorded in an internal audit list for later inspection. Adjusting this policy at runtime immediately governs all subsequent popup attempts across the instance while keeping current frames intact, preserving DOM state, and avoiding any session restart.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session handle whose child view and target=_blank interception policy will be updated."
                  },
                  "policy": {
                    "type": "string",
                    "description": "Disposition for popups: allow standalone frame, block creation, open in new_tab, or open in background.",
                    "enum": [
                      "allow",
                      "block",
                      "new_tab",
                      "background"
                    ]
                  }
                },
                "required": [
                  "context_id",
                  "policy"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserSetPopupPolicy",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_get_tabs": {
      "post": {
        "summary": "Browser Get Tabs",
        "description": "Enumerates all open document targets within the specified session, returning each handle, current URL, page title, and foreground focus status. Within an isolated session, multiple targets share the same underlying cookie jar, localStorage partition, HTTP cache, and upstream relay configuration. At the same time, each entry maintains its own separate DOM tree and navigation history stack. Automation workflows query this directory after clicking links that spawn child windows or background pages so they can discover the resulting handles and switch interaction focus accordingly. The returned JSON array reflects the live state of the session's window registry at the exact moment of inspection, enabling deterministic multi-page coordination across complex web applications, OAuth popups, and multi-step single-sign-on flows.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session handle whose open document targets, titles, URLs, and focus states will be listed."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserGetTabs",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_switch_tab": {
      "post": {
        "summary": "Browser Switch Tab",
        "description": "Transfers active interaction control to a designated document within the session so subsequent navigation and DOM commands address it. Upon switching, the engine updates its active view pointer and fires standard visibility and focus lifecycle events (`visibilitychange`, `focus`) inside the newly foregrounded Blink renderer. Meanwhile, the previously active view transitions into the background where its JavaScript timers, WebSockets, and network fetches continue running uninterrupted. Supplying a valid handle retrieved from the target directory completes synchronously and confirms the transition in the response payload. Providing a nonexistent or previously closed handle returns a lookup error while leaving the current foreground document unchanged, preserving ongoing script execution, and keeping the active environment ready for further automation commands.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session handle containing the document view to bring into foreground interaction."
                  },
                  "tab_id": {
                    "type": "string",
                    "description": "Unique handle of the destination document obtained from the session's open view listing."
                  }
                },
                "required": [
                  "context_id",
                  "tab_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserSwitchTab",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_close_tab": {
      "post": {
        "summary": "Browser Close Tab",
        "description": "Terminates a specific browsing view by its handle, tearing down its Blink DOM tree, V8 environment, and dedicated renderer memory. Whenever the destroyed view held foreground focus, the window coordinator automatically promotes an adjacent open document to become the active recipient for subsequent automation commands. Because every active instance requires at least one live page host to anchor its storage partition and networking lifecycle, attempting to close the sole remaining target is rejected with a precondition error. Callers should invoke full instance teardown commands instead when shutting down the entire browsing environment. Once closed, all in-flight network requests, pending promises, and timers owned by that frame are cancelled immediately and its handle becomes permanently invalid across the session.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session handle from which the specified document view will be closed and deallocated."
                  },
                  "tab_id": {
                    "type": "string",
                    "description": "Unique handle of the document target to destroy; cannot be the final remaining view."
                  }
                },
                "required": [
                  "context_id",
                  "tab_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserCloseTab",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_new_tab": {
      "post": {
        "summary": "Browser New Tab",
        "description": "Spawns a fresh document target inside the specified session, promotes it to foreground focus, and optionally navigates to a URL. The newly created page inherits the parent environment's storage partition—sharing cookies, IndexedDB records, hardware fingerprint seeds, and upstream relay settings—while allocating an independent Blink renderer frame and navigation history stack. If no destination address is provided in the request, the frame initializes at `about:blank` ready for subsequent script evaluation or navigation commands. Upon completion, the JSON output provides the newly assigned handle so callers can switch back and forth between parallel documents effortlessly. Any existing pages remain open in the background and continue executing their scripts, timers, WebSockets, and network streams without interruption.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session handle in which the new shared-storage document target will be spawned."
                  },
                  "url": {
                    "type": "string",
                    "description": "Optional full destination URL with protocol to load immediately; defaults to about:blank when omitted."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserNewTab",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_get_active_tab": {
      "post": {
        "summary": "Browser Get Active Tab",
        "description": "Returns the unique handle, current document URL, and page title of the single target that currently holds foreground focus. Because all DOM inspection, screenshot capture, and input synthesis endpoints implicitly operate against the focused page unless redirected, querying this endpoint lets orchestration scripts confirm which document is receiving commands. This verification is especially helpful after popup redirects or window-closing events may have shifted focus automatically. Compared to enumerating the entire target directory, this focused lookup incurs minimal serialization overhead and returns a single JSON descriptor object representing the live foreground document. If the focused frame is mid-navigation, the readout reflects the latest committed URL and title known to the Blink renderer process at that exact instant.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session handle queried to retrieve the currently focused foreground document descriptor."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserGetActiveTab",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_get_tab_count": {
      "post": {
        "summary": "Browser Get Tab Count",
        "description": "Queries the window registry for a running session and returns the integer count of open pages without serializing URLs or titles. Automation loops use this fast, low-overhead metric to detect whether clicking an interactive control spawned an unexpected child window. It also reveals whether a background page closed itself via `window.close()` after completing an OAuth handshake or payment callback. Because the operation inspects only the internal registry length inside the worker process, the call executes with negligible latency regardless of whether individual documents are mid-navigation or blocked on heavy script execution. The response returns a compact JSON object containing the numeric total, which is always at least one for any active session in the worker pool.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session handle whose total number of open document targets will be counted."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserGetTabCount",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_get_blocked_popups": {
      "post": {
        "summary": "Browser Get Blocked Popups",
        "description": "Retrieves the list of destination URLs intercepted and suppressed while the session's popup policy was configured to `block`. Whenever client-side scripts invoke `window.open()` or a user click activates a `target=\"_blank\"` anchor under a blocking policy, the native CEF LifeSpanHandler aborts frame creation before any network request leaves the engine. Each suppressed destination address is appended chronologically to this internal audit buffer. Workflows inspect the captured URLs to extract OAuth redirect targets, single-sign-on tokens, or external document links so they can validate the addresses or navigate to them in a controlled manner. Querying this buffer returns all recorded URLs accumulated since the session started without clearing the list, resetting counters, or mutating active popup rules.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Session handle whose audit log of suppressed popup destination URLs will be retrieved."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserGetBlockedPopups",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_get_license_status": {
      "post": {
        "summary": "Browser Get License Status",
        "description": "Performs a fast cryptographic and hardware-binding check against the active runtime entitlement and returns `{status, valid}`. During execution, the licensing subsystem validates the Ed25519 signature of the installed key file, checks the expiration timestamp, verifies host machine hardware fingerprint alignment, and confirms subscription standing without exposing full customer metadata. The resulting `status` field resolves to one of eight canonical states: `valid`, `expired`, `not_found`, `invalid_signature`, `revoked`, `subscription_inactive`, `hardware_mismatch`, or `reissue_required`. Health-check probes and deployment readiness scripts invoke this lightweight endpoint to confirm engine authorization prior to provisioning worker sessions or launching automation jobs. Because it requires no active session handle, it can be called immediately upon server startup to gate incoming client traffic.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserGetLicenseStatus",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_get_license_info": {
      "post": {
        "summary": "Browser Get License Info",
        "description": "Retrieves cryptographic metadata, seat allocation limits, and validity timestamps from the active runtime entitlement credential. During invocation, the licensing subsystem parses the local v3 signed plaintext file and verifies its cryptographic signature against embedded public keys. Returned JSON fields include the unique identifier, tier classification code ranging from zero for trial to five for subscription, and maximum concurrent seat capacity. Temporal bounds appear as ISO-8601 UTC strings under issue_date and expiry_date, where perpetual or cloud-governed entitlements report a null expiration. Boolean flags indicate whether hardware locking applies and whether current operational checks pass. Customer personal data such as subscriber name, corporate organization, or billing email never resides inside the local artifact. This separation preserves privacy by keeping identity records exclusively on the remote authority.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserGetLicenseInfo",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_get_hardware_fingerprint": {
      "post": {
        "summary": "Browser Get Hardware Fingerprint",
        "description": "Computes a deterministic cryptographic machine digest derived from non-volatile host platform identifiers for node-locked activation. When invoked, the native platform probe inspects low-level system attributes including processor topology, motherboard UUID, primary storage serial numbers, and network interface MAC addresses. These raw hardware traits undergo canonical normalization and SHA-256 hashing to produce an immutable hexadecimal signature that survives operating system reboots. Administrators submit this resulting string to the provisioning portal when generating a node-locked `.olic` credential file for offline or dedicated server deployments. In virtualized or containerized environments where underlying hypervisor traits may shift across migrations, the digest reflects the exposed guest hardware abstraction layer. The response payload returns the computed fingerprint string immediately without mutating system state or triggering external outbound connections.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserGetHardwareFingerprint",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_add_license": {
      "post": {
        "summary": "Browser Add License",
        "description": "Installs and validates a signed v3 `.olic` entitlement file to unlock full commercial engine capabilities on the host machine. Upon receiving the filesystem path, the activation handler reads the plaintext credential and verifies its asymmetric digital signature. It then compares the embedded machine hash against the local hardware digest and initiates an encrypted HTTPS handshake with the central licensing authority. This remote check confirms seat availability and current revocation status. If cryptographic and remote validations succeed, the runtime persists the credential into its protected configuration directory and transitions out of restricted evaluation mode without restarting active processes. The response payload details activation success, tier attributes, and expiration dates, or returns specific diagnostic error codes if signature verification fails, the hardware digest mismatches, or firewall rules block outbound authority verification.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "license_path": {
                    "type": "string",
                    "description": "Absolute local filesystem path pointing to the reissued v3 `.olic` credential artifact for activation."
                  }
                },
                "required": [
                  "license_path"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserAddLicense",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_remove_license": {
      "post": {
        "summary": "Browser Remove License",
        "description": "Deactivates the current commercial entitlement by purging the installed `.olic` credential from local storage and reverting to trial mode. Executing this operation unlinks the host machine from its assigned seat allocation and erases cached cryptographic activation state from the configuration directory. Running rendering processes remain alive but immediately transition to unlicensed evaluation constraints until a replacement file is provisioned by an administrator. Engineers typically run this command prior to rotating expired credentials, upgrading subscription tiers, or decommissioning ephemeral cloud instances to release locked seats cleanly. If no active credential exists on disk when called, the handler completes idempotently and reports the current unlicensed status without throwing an exception. The returned JSON payload confirms removal completion and reflects the downgraded runtime operational state.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserRemoveLicense",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_get_element_at_position": {
      "post": {
        "summary": "Browser Get Element At Position",
        "description": "Performs a synchronous spatial hit-test at the specified viewport pixel coordinates to inspect the topmost rendered DOM target. The rendering engine translates the supplied horizontal and vertical offsets relative to the visual layout area and traverses the Blink paint tree via `document.elementFromPoint`. It resolves the deepest visible node receiving pointer events at that exact location, bypassing descendants with `pointer-events: none` or hidden visibility. The returned JSON structure encapsulates the HTML tag name, DOM id, CSS class list, client bounding rectangle, inner text snippet, and essential computed style properties. When paired with visual coordinate grid overlays, this spatial query enables accurate target discovery for canvas controls, custom web components, or obfuscated layouts. Coordinates falling outside current viewport dimensions yield a null target response.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Identifier of the isolated browsing instance where the spatial coordinate hit-test executes."
                  },
                  "x": {
                    "type": "number",
                    "description": "Horizontal pixel offset measured rightward from the left edge of the active visual viewport."
                  },
                  "y": {
                    "type": "number",
                    "description": "Vertical pixel offset measured downward from the upper border of the rendered client area."
                  }
                },
                "required": [
                  "context_id",
                  "x",
                  "y"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserGetElementAtPosition",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_get_interactive_elements": {
      "post": {
        "summary": "Browser Get Interactive Elements",
        "description": "Scans the live document tree to catalog all actionable user interface controls along with their geometric bounds and attributes. During execution, the renderer traverses the DOM and accessibility hierarchy to identify native interactive tags such as anchors, buttons, inputs, dropdowns, and textareas, alongside nodes bearing ARIA widget roles or explicit click listeners. Hidden, disabled, or zero-area nodes are filtered out using computed layout geometry and visibility checks so only genuinely operable controls remain in the final output. For every discovered widget, the response array provides its bounding box coordinates, dimensions, tag type, accessible label, current value, and synthesized locator paths. Automation frameworks and visual debugging overlays consume this inventory to highlight clickable surfaces or construct action candidates without manually parsing raw HTML markup.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Unique handle identifying the active rendering session whose interactive controls will be cataloged."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserGetInteractiveElements",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_get_page_map": {
      "post": {
        "summary": "Browser Get Page Map",
        "description": "Generates a token-efficient Markdown table indexing actionable document controls grouped by semantic landmarks and ranked by relevance. Instead of transmitting heavy visual bitmaps, the engine extracts interactive widgets, groups them under structural containers like navigation bars, forms, or main content areas, and assigns each a sequential numeric reference. When an optional task intent string is supplied, a lexical and semantic scorer boosts matching controls toward the top of the ranked output. Each row in the returned Markdown summary lists the assigned number, widget category, accessible description, live input state, and underlying locator. Downstream automation calls can pass the numeric index directly to click or typing operations, cutting language model token overhead by an order of magnitude compared to screenshot analysis.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Target browsing session identifier from which the structured landmark control index is generated."
                  },
                  "intent": {
                    "type": "string",
                    "description": "Natural-language task goal used by the relevance scorer to prioritize matching interactive widgets."
                  },
                  "max_elements": {
                    "type": "string",
                    "description": "Upper limit on returned control entries ranked by importance score, where zero means unlimited."
                  },
                  "region": {
                    "type": "string",
                    "description": "Semantic landmark filter such as main, nav, form, or header; omit to scan everything."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserGetPageMap",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_observe": {
      "post": {
        "summary": "Browser Observe",
        "description": "Produces an agent-native OwlMark structural render of the live document alongside a stable handle lookup table and token estimate. Operating exclusively on sessions initialized for agent-centric rendering, the serializer walks the Chromium accessibility and layout trees to construct a compact text representation. Boilerplate chrome, repetitive list templates, and offscreen sections are folded according to the chosen compaction setting and soft token budget. However, the salience scorer always preserves at least one actionable control per landmark. Interactive targets receive short alphanumeric handles like `b3` that remain valid for subsequent click, typing, expansion, or inspection commands. Consumers opting into delta mode receive a lightweight diff block when re-observing unchanged state, or enable version two with full detail to attach a snapshot-bound paged content audit.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "content_version": {
                    "type": "string",
                    "description": "Schema version selector: 1 for compact output, or 2 with full detail for paged content audits."
                  },
                  "context_id": {
                    "type": "string",
                    "description": "Session identifier configured with agent or both mode for structural OwlMark serialization."
                  },
                  "detail": {
                    "type": "string",
                    "description": "Compaction level choosing between min, normal, full expansion, or headings-only outline crop.",
                    "enum": [
                      "min",
                      "normal",
                      "full",
                      "outline"
                    ]
                  },
                  "region": {
                    "type": "string",
                    "description": "Optional landmark scope such as main, nav, article, or form to restrict observation output."
                  },
                  "max_tokens": {
                    "type": "string",
                    "description": "Soft upper bound on serialized output tokens while preserving essential regional controls."
                  },
                  "delta": {
                    "type": "boolean",
                    "description": "Enables compact differential snapshots on repeated observations when document state remains unchanged."
                  },
                  "full_refresh": {
                    "type": "boolean",
                    "description": "Forces complete snapshot serialization even when differential observation mode is enabled."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserObserve",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_expand": {
      "post": {
        "summary": "Browser Expand",
        "description": "Unfolds a previously collapsed landmark container, deduplicated template group, or specific widget handle from an earlier OwlMark observation. When a prior structural capture folded secondary sections or repetitive item lists to honor a strict token budget, agents invoke this operation to inspect the omitted subtree without re-serializing the entire document. The engine resolves the supplied token—such as a regional identifier `R1`, template reference `T1`, or control handle `b7`—against the cached observation state of the active `agent` mode session. It then re-runs the OwlMark serializer exclusively across that targeted subtree at the requested detail level, emitting nested text and newly exposed interactive handles. If the underlying DOM mutated significantly since the baseline snapshot, the response flags the stale token immediately for refresh.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Active agent-mode session handle holding the baseline OwlMark observation snapshot in memory."
                  },
                  "selector": {
                    "type": "string",
                    "description": "Collapsed region token, deduplicated template identifier, or widget handle obtained from prior observation."
                  },
                  "detail": {
                    "type": "string",
                    "description": "Granularity level (min, normal, or full) applied when re-serializing the targeted subtree.",
                    "enum": [
                      "min",
                      "normal",
                      "full"
                    ]
                  }
                },
                "required": [
                  "context_id",
                  "selector"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserExpand",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_read_node": {
      "post": {
        "summary": "Browser Read Node",
        "description": "Extracts the complete, uncompacted accessible name, value, description, and attribute dictionary for a single OwlMark target or document root. Whereas standard structural observations truncate verbose prose and long input strings to conserve context window space, this inspector retrieves raw node properties directly from the live Blink accessibility tree. In version one mode, it returns an immediate inline JSON record for the specified handle or legacy CSS locator. When invoked with version two, it streams lossless UTF-8 byte-aligned pages across the exposed accessibility extent—supporting `@document` for whole-tree reads—without clipping multi-kilobyte text fields. Subsequent chunks are fetched deterministically using the opaque replayable cursor returned in `next_cursor`, though any intervening DOM mutation invalidates the snapshot stream and requires restarting from the initial page.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "content_version": {
                    "type": "string",
                    "description": "Protocol selector: 1 for legacy inline inspection, or 2 for lossless byte-paged streaming."
                  },
                  "cursor": {
                    "type": "string",
                    "description": "Opaque continuation token from a prior v2 response used to fetch the next byte chunk."
                  },
                  "page_bytes": {
                    "type": "string",
                    "description": "Maximum UTF-8 byte size (2048 to 49152) for a serialized v2 response envelope."
                  },
                  "context_id": {
                    "type": "string",
                    "description": "Identifier of the agent-enabled session containing the target accessibility node."
                  },
                  "selector": {
                    "type": "string",
                    "description": "OwlMark handle from prior observation, `@document` for v2 full tree, or v1 CSS locator."
                  }
                },
                "required": [
                  "context_id",
                  "selector"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserReadNode",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_get_blocker_stats": {
      "post": {
        "summary": "Browser Get Blocker Stats",
        "description": "Queries the built-in filtering engine to retrieve cumulative interception metrics for advertisements, tracking scripts, and analytics beacons. As the rendering instance loads web pages, its resource interceptor evaluates every outbound subresource URI and domain against compiled filter lists before socket creation occurs. Invoking this diagnostic endpoint reads the atomic counters maintained for the specified browsing session without pausing ongoing page loads. The returned JSON payload breaks down intercepted traffic into distinct categories—separating ad networks, behavioral trackers, and telemetry endpoints—alongside aggregate counts of permitted versus rejected requests and estimated bandwidth saved. Engineers inspect these telemetry figures to verify privacy shield rules, audit third-party script bloat on target websites, or confirm that resource blocking reduced network overhead during automated scraping runs in production.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Browsing instance identifier whose cumulative ad and tracker interception counters will be queried."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserGetBlockerStats",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/ipc_tests_run": {
      "post": {
        "summary": "Ipc Tests Run",
        "description": "Launches an asynchronous diagnostic suite to benchmark and verify inter-process transport channels between gateway and renderer. Upon invocation, the test harness spawns a dedicated worker process configured for one of six execution profiles: quick five-method smoke validation, comprehensive 138-method verification, latency benchmarking, high-density load evaluation, memory leak tracking, or multi-threaded concurrency checks. Because full and load-testing suites dispatch thousands of serialized messages across Unix domain pipes or shared memory rings, the call returns immediately with a unique tracking identifier rather than blocking the caller. The background runner records per-operation latency histograms, resident set size deltas, and failure traces into disk artifacts as execution progresses over time. Only one active validation worker may execute at any given moment across the host system.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "mode": {
                    "type": "string",
                    "description": "Suite profile choosing between smoke, full, benchmark, stress, leak-check, or parallel validation.",
                    "enum": [
                      "smoke",
                      "full",
                      "benchmark",
                      "stress",
                      "leak-check",
                      "parallel"
                    ]
                  },
                  "verbose": {
                    "type": "boolean",
                    "description": "Enables detailed per-method diagnostic logging throughout background suite execution when set true."
                  },
                  "iterations": {
                    "type": "string",
                    "description": "Total repetition cycles executed per operation during latency benchmark profiling runs."
                  },
                  "contexts": {
                    "type": "string",
                    "description": "Quantity of isolated browsing instances spawned simultaneously during high-load evaluations."
                  },
                  "duration": {
                    "type": "string",
                    "description": "Elapsed wall-clock time in seconds to sustain continuous load or memory leak checks."
                  },
                  "concurrency": {
                    "type": "string",
                    "description": "Number of parallel worker threads dispatching simultaneous calls during concurrent validation."
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "202": {
            "description": "Operation accepted for asynchronous processing.",
            "headers": {
              "Location": {
                "description": "URL to poll for job status.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AsyncJob"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "ipcTestsRun",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/ipc_tests_status": {
      "post": {
        "summary": "Ipc Tests Status",
        "description": "Polls the live execution state, pass-fail tallies, and throughput metrics of an ongoing or recently finished inter-process diagnostic run. The status monitor inspects the background worker state machine associated with the supplied identifier—or defaults to the latest suite if omitted—without interrupting active message traffic. Returned JSON fields report the lifecycle phase (`running`, `completed`, `failed`, or `aborted`), elapsed wall-clock duration, total operations dispatched, passed assertions, and encountered error counts. It also calculates real-time message throughput expressed in operations per second to help operators detect transport bottlenecks or pipe saturation under heavy load. Automated continuous integration pipelines poll this lightweight endpoint periodically after starting a validation suite until the lifecycle state transitions to a terminal completion phase and writes final disk artifacts.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "run_id": {
                    "type": "string",
                    "description": "Unique identifier of the diagnostic execution to inspect; omit to query the latest suite."
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "ipcTestsStatus",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/ipc_tests_abort": {
      "post": {
        "summary": "Ipc Tests Abort",
        "description": "Terminates an active inter-process communication diagnostic suite gracefully by dispatching a POSIX `SIGTERM` signal to the background runner. When a long-running stress, benchmark, or leak-check evaluation stalls or needs immediate cancellation, invoking this endpoint instructs the supervisor to halt further command dispatch immediately. The worker process catches the termination signal, flushes partial telemetry buffers to disk, closes temporary browsing sessions, and marks the run state as `aborted` before exiting. If the child process fails to exit within the grace window, the supervisor escalates to forced teardown so leaked resources do not degrade host stability. Attempting to cancel a suite that has already finished or does not exist returns a descriptive status message confirming no running worker matched the supplied identifier.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "run_id": {
                    "type": "string",
                    "description": "Unique tracking identifier of the currently executing diagnostic run to terminate gracefully."
                  }
                },
                "required": [
                  "run_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "ipcTestsAbort",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/ipc_tests_list_reports": {
      "post": {
        "summary": "Ipc Tests List Reports",
        "description": "Enumerates all persisted inter-process diagnostic artifacts stored on disk, returning summary metadata for each historical validation suite. During execution, the handler scans the dedicated reports directory, parses the header manifest of each completed or aborted run, and sorts the entries chronologically from newest to oldest. Every record in the output list provides the `run_id`, ISO-8601 start timestamp, selected execution mode, total assertions evaluated, pass-fail breakdown, and total elapsed duration in seconds. It also indicates which output representations—structured JSON data, interactive HTML charts, and raw standard output logs—are present on the host filesystem for that specific identifier. Dashboard interfaces and automated auditing scripts query this catalog to discover historical benchmark trends or locate specific failure runs before fetching full artifact contents.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "ipcTestsListReports",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/ipc_tests_get_report": {
      "post": {
        "summary": "Ipc Tests Get Report",
        "description": "Fetches the complete diagnostic artifact for a specified historical validation run in structured JSON, interactive HTML, or plain log format. When queried with `json`, the handler reads the serialized telemetry file from disk, delivering granular per-method latency percentiles, memory consumption curves, throughput figures, and stack traces for failed assertions. Selecting `html` returns a self-contained visual dashboard document with embedded charts suitable for direct rendering inside an administration portal or browser iframe. Choosing `log` streams the raw standard output and error text captured from the test runner process, which is invaluable when debugging low-level socket disconnects or native segmentation faults. If the requested identifier does not match any archived artifact on disk, the endpoint responds immediately with a not-found error payload.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "run_id": {
                    "type": "string",
                    "description": "Unique identifier of the archived diagnostic suite whose output artifact will be retrieved."
                  },
                  "format": {
                    "type": "string",
                    "description": "Desired output representation: json for structured telemetry, html for visual charts, or log for console text.",
                    "enum": [
                      "json",
                      "html",
                      "log"
                    ]
                  }
                },
                "required": [
                  "run_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "ipcTestsGetReport",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/ipc_tests_delete_report": {
      "post": {
        "summary": "Ipc Tests Delete Report",
        "description": "Permanently removes all disk artifacts associated with a single inter-process diagnostic run to reclaim filesystem storage space. Upon receiving a valid identifier, the storage manager locates and unlinks the corresponding JSON telemetry record, generated HTML dashboard file, and raw console output log from the reports directory. It verifies that the target suite is not actively executing before unlinking files, preventing race conditions or corrupted writes during an ongoing benchmark evaluation. Once deletion completes on the host volume, the response payload confirms the list of purged file paths and total freed byte count. If the specified identifier does not exist on disk or belongs to a currently running worker, the handler returns an explicit error code without modifying other archived historical suites.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "run_id": {
                    "type": "string",
                    "description": "Unique identifier of the completed diagnostic run whose disk files will be permanently unlinked."
                  }
                },
                "required": [
                  "run_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "ipcTestsDeleteReport",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/ipc_tests_clean_all": {
      "post": {
        "summary": "Ipc Tests Clean All",
        "description": "Purges the entire archive of completed inter-process diagnostic runs from the filesystem in a single bulk cleanup operation. The maintenance handler iterates through the dedicated reports directory and unlinks all historical JSON data files, rendered HTML dashboards, and captured console logs accumulated across prior validation suites. Any suite that is actively executing at the moment of invocation is safely skipped by the file walker so live telemetry streams are never interrupted or corrupted. Automated deployment pipelines and container maintenance scripts invoke this housekeeping command to reset benchmark history or reclaim disk capacity after intensive stress and memory-leak testing cycles. The returned JSON summary reports the total number of purged suite archives and aggregate bytes freed from local storage volumes immediately.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "ipcTestsCleanAll",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/server_restart_browser": {
      "post": {
        "summary": "Server Restart Browser",
        "description": "Initiates an asynchronous full-stack service restart of both the HTTP gateway and underlying rendering engine via the process supervisor. When executed inside containerized deployments managed by `s6-overlay`, the handler schedules a `s6-svc` restart signal; in standalone host environments, it falls back to recycling the native engine child process directly. Because tearing down the gateway mid-request would sever the caller's socket, the endpoint flushes a non-blocking HTTP confirmation payload first and triggers actual process termination approximately one second later. All live browsing sessions, open pages, and in-memory state are cleanly destroyed during teardown to recover from severe renderer hangs, GPU memory exhaustion, or updated runtime configuration flags. Unless the force flag is enabled, healthy instances may skip redundant service recycling operations.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "force": {
                    "type": "boolean",
                    "description": "Forces an immediate service recycle even when internal health checks report normal operational status."
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "serverRestartBrowser",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/server_read_logs": {
      "post": {
        "summary": "Server Read Logs",
        "description": "Retrieves filtered diagnostic log lines from either the rendering engine process or the front-end HTTP control server. Depending on the selected source stream, the reader inspects either low-level IPC command traces, Blink rendering events, and console messages, or incoming REST gateway access and error records. Callers can slice the file using `head` for initial startup output, `tail` for recent activity, or `range` for exact one-indexed line boundaries. Before returning results, the parser optionally filters lines by severity level (`DEBUG`, `INFO`, `WARN`, `ERROR`) and evaluates a substring or regular expression pattern against each candidate row. This capability enables remote troubleshooting of page load failures, crash stack traces, or authentication rejections without requiring direct interactive SSH shell access to the production host.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "source": {
                    "type": "string",
                    "description": "Target log stream: choose browser for engine traces or server for HTTP gateway records.",
                    "enum": [
                      "browser",
                      "server"
                    ]
                  },
                  "mode": {
                    "type": "string",
                    "description": "Slicing strategy selecting head for earliest lines, tail for latest, or range for indexed bounds.",
                    "enum": [
                      "head",
                      "tail",
                      "range"
                    ]
                  },
                  "lines": {
                    "type": "string",
                    "description": "Maximum count of log rows returned when operating in head or tail slicing modes."
                  },
                  "start_line": {
                    "type": "string",
                    "description": "One-indexed inclusive starting line number used when reading a specific range slice."
                  },
                  "end_line": {
                    "type": "string",
                    "description": "One-indexed inclusive ending line number bounding a range read; defaults to start plus 100."
                  },
                  "filter": {
                    "type": "string",
                    "description": "Regular expression or literal substring pattern that returned log lines must match."
                  },
                  "level": {
                    "type": "string",
                    "description": "Severity threshold filter restricting output to DEBUG, INFO, WARN, or ERROR messages.",
                    "enum": [
                      "DEBUG",
                      "INFO",
                      "WARN",
                      "ERROR"
                    ]
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "serverReadLogs",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/http_request": {
      "post": {
        "summary": "Http Request",
        "description": "Dispatches a standalone outbound web transaction directly from the native C++ libcurl transport engine without involving a DOM renderer. Callers exercise granular control over the verb, custom metadata fields, payload body, credential schemes (Basic, Bearer, or Digest), and TLS certificate verification rules. Traffic can route through intermediate HTTP, HTTPS, or SOCKS4/5 relays, or toggle the built-in local Tor daemon on port 9050 for anonymous remote DNS resolution. Session jars exported from active browsing instances can be injected directly as key-value pairs or arrays to bridge authenticated DOM workflows with fast API calls. The response envelope returns the numeric status code, normalized response headers, redirect chain history, millisecond timing breakdowns, and payload formatted as UTF-8 text, base64 bytes, or parsed objects.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string",
                    "description": "Destination web endpoint URI including protocol scheme and optional query parameters."
                  },
                  "method": {
                    "type": "string",
                    "description": "Outbound request verb: specify GET, POST, PUT, PATCH, DELETE, HEAD, or OPTIONS.",
                    "enum": [
                      "GET",
                      "POST",
                      "PUT",
                      "DELETE",
                      "PATCH",
                      "HEAD",
                      "OPTIONS"
                    ]
                  },
                  "headers": {
                    "type": "string",
                    "description": "Custom metadata dictionary supplied as serialized JSON or a newline-delimited key-value block."
                  },
                  "body": {
                    "type": "string",
                    "description": "Raw outbound payload content such as serialized JSON data or URL-encoded form values."
                  },
                  "cookies": {
                    "type": "string",
                    "description": "State tokens sent with the call, formatted as key-value pairs or exported objects."
                  },
                  "auth_type": {
                    "type": "string",
                    "description": "Credential negotiation scheme choosing between basic, bearer, digest, or none.",
                    "enum": [
                      "none",
                      "basic",
                      "bearer",
                      "digest"
                    ]
                  },
                  "auth_username": {
                    "type": "string",
                    "description": "Account identifier used during Basic or Digest challenge handshakes."
                  },
                  "auth_password": {
                    "type": "string",
                    "description": "Secret passphrase paired with the account username for challenge handshakes."
                  },
                  "auth_token": {
                    "type": "string",
                    "description": "Raw security token injected into the Authorization Bearer header without prefix."
                  },
                  "proxy_type": {
                    "type": "string",
                    "description": "Forwarding relay protocol: http, https, socks4, or privacy-preserving socks5/socks5h.",
                    "enum": [
                      "http",
                      "https",
                      "socks4",
                      "socks5",
                      "socks5h"
                    ]
                  },
                  "proxy_host": {
                    "type": "string",
                    "description": "Domain name or IPv4/IPv6 address of the intermediate forwarding gateway."
                  },
                  "proxy_port": {
                    "type": "string",
                    "description": "Numeric TCP port on which the upstream forwarding server listens for connections."
                  },
                  "proxy_username": {
                    "type": "string",
                    "description": "Optional login user identifier required to authenticate with the upstream gateway."
                  },
                  "proxy_password": {
                    "type": "string",
                    "description": "Passphrase accompanying the login user for upstream gateway authentication."
                  },
                  "use_tor": {
                    "type": "boolean",
                    "description": "Routes traffic through the integrated local Tor circuit at 127.0.0.1:9050 when true."
                  },
                  "follow_redirects": {
                    "type": "boolean",
                    "description": "Automatically chases 3xx Location response headers across hops when enabled."
                  },
                  "max_redirects": {
                    "type": "string",
                    "description": "Upper bound on consecutive 3xx redirect hops followed before aborting the transfer."
                  },
                  "timeout": {
                    "type": "string",
                    "description": "Maximum total elapsed duration in milliseconds permitted for the complete transfer."
                  },
                  "connect_timeout": {
                    "type": "string",
                    "description": "Upper bound in milliseconds permitted for initial TCP and TLS connection establishment."
                  },
                  "ssl_verify": {
                    "type": "boolean",
                    "description": "Enforces strict X.509 peer certificate chain and hostname verification during TLS handshakes."
                  },
                  "ca_cert_path": {
                    "type": "string",
                    "description": "Filesystem location of a custom PEM-encoded Certificate Authority bundle for TLS trust."
                  },
                  "user_agent": {
                    "type": "string",
                    "description": "Custom client software identification value overriding the default User-Agent header."
                  },
                  "output": {
                    "type": "string",
                    "description": "Desired response payload encoding: text for UTF-8, base64 for binary, or json for objects.",
                    "enum": [
                      "text",
                      "base64",
                      "json"
                    ]
                  }
                },
                "required": [
                  "url"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "httpRequest",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/http_download": {
      "post": {
        "summary": "Http Download",
        "description": "Streams a remote resource over web protocols directly to host disk storage with support for byte-range resumption and relay routing. Rather than buffering large binaries inside RAM, the native transfer client writes incoming socket chunks straight to the target path. When the destination path is omitted, it derives a filename inside `/tmp/owl_downloads/` from the URI or `Content-Disposition` metadata. If `resume` is enabled and a partial destination artifact already exists, the client inspects its byte length and attaches a `Range` field to fetch only the remaining tail bytes. Callers can attach session state tokens, custom headers, custom Certificate Authority bundles, or route traffic through gateways and the integrated Tor anonymizer. Upon completion, the returned summary provides the resolved absolute path, total bytes written, detected MIME type, and transfer duration.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string",
                    "description": "Remote HTTP or HTTPS address of the binary or text resource to fetch."
                  },
                  "output_path": {
                    "type": "string",
                    "description": "Destination path on disk; defaults to `/tmp/owl_downloads/` with an inferred filename."
                  },
                  "headers": {
                    "type": "string",
                    "description": "Additional request headers passed as a JSON dictionary or newline-separated block."
                  },
                  "cookies": {
                    "type": "string",
                    "description": "Authentication state tokens passed as a semicolon-delimited string or exported JSON array."
                  },
                  "proxy_type": {
                    "type": "string",
                    "description": "Protocol used by the intermediate router: http, https, socks4, socks5, or socks5h.",
                    "enum": [
                      "http",
                      "https",
                      "socks4",
                      "socks5",
                      "socks5h"
                    ]
                  },
                  "proxy_host": {
                    "type": "string",
                    "description": "IPv4/IPv6 address or domain name of the intermediate relay host."
                  },
                  "proxy_port": {
                    "type": "string",
                    "description": "Listening TCP port number configured on the intermediate relay endpoint."
                  },
                  "proxy_username": {
                    "type": "string",
                    "description": "Login identifier used to authenticate against a protected router endpoint."
                  },
                  "proxy_password": {
                    "type": "string",
                    "description": "Password secret associated with the login name for router authentication."
                  },
                  "use_tor": {
                    "type": "boolean",
                    "description": "Channels the file transfer through the integrated Tor anonymizing circuit when enabled."
                  },
                  "timeout": {
                    "type": "string",
                    "description": "Overall transfer deadline in milliseconds before aborting an incomplete download stream."
                  },
                  "ssl_verify": {
                    "type": "boolean",
                    "description": "Validates remote peer TLS certificates against trusted root authorities when true."
                  },
                  "ca_cert_path": {
                    "type": "string",
                    "description": "Disk location of a custom PEM root certificate bundle for verifying private TLS hosts."
                  },
                  "resume": {
                    "type": "boolean",
                    "description": "Appends to an existing partial file using byte-range headers when supported."
                  },
                  "user_agent": {
                    "type": "string",
                    "description": "Override value sent in the outbound User-Agent header during file retrieval."
                  }
                },
                "required": [
                  "url"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "httpDownload",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/ftp_list": {
      "post": {
        "summary": "Ftp List",
        "description": "Connects to a distant FTP or FTPS endpoint and retrieves a formatted text directory listing for the specified trailing-slash path. The native protocol client establishes a command channel using either anonymous credentials or the supplied account login. It optionally upgrades the socket with explicit SSL/TLS encryption when `use_ssl` is enabled. Next, it negotiates a passive data transfer channel—routing through configured SOCKS/HTTP intermediaries or the built-in Tor circuit when requested—and issues a directory enumeration command. Note that the target URI must terminate with a forward slash `/` so the protocol handler treats the path as a folder rather than a downloadable artifact. The returned JSON payload delivers the raw listing lines containing file permissions, ownership, byte sizes, modification dates, and entry names, along with connection timing metrics.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string",
                    "description": "Target directory URI ending with a trailing slash, such as `ftp://host/pub/`."
                  },
                  "username": {
                    "type": "string",
                    "description": "Account login name for server authentication; defaults to anonymous when omitted."
                  },
                  "password": {
                    "type": "string",
                    "description": "Passphrase accompanying the account login name; defaults to an empty value."
                  },
                  "proxy_type": {
                    "type": "string",
                    "description": "Intermediary protocol selection: specify http, https, socks4, or remote-resolving socks5/socks5h.",
                    "enum": [
                      "http",
                      "https",
                      "socks4",
                      "socks5",
                      "socks5h"
                    ]
                  },
                  "proxy_host": {
                    "type": "string",
                    "description": "Hostname or numerical IP address of the configured gateway node."
                  },
                  "proxy_port": {
                    "type": "string",
                    "description": "TCP port number on the configured gateway node."
                  },
                  "proxy_username": {
                    "type": "string",
                    "description": "Username credential required by a protected gateway node."
                  },
                  "proxy_password": {
                    "type": "string",
                    "description": "Password secret required by an authenticated intermediary server."
                  },
                  "use_tor": {
                    "type": "boolean",
                    "description": "Routes the command and passive data channels through the built-in Tor circuit."
                  },
                  "timeout": {
                    "type": "string",
                    "description": "Time limit in milliseconds permitted for directory enumeration to complete."
                  },
                  "use_ssl": {
                    "type": "boolean",
                    "description": "Upgrades the connection to explicit SSL/TLS encryption for secure transport."
                  }
                },
                "required": [
                  "url"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "ftpList",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/ftp_download": {
      "post": {
        "summary": "Ftp Download",
        "description": "Retrieves a specific binary or text artifact from an FTP or FTPS repository and writes it directly to the local filesystem. After establishing the control socket and authenticating with the provided user credentials (or anonymous login by default), the client switches to binary image transfer mode and negotiates a passive data stream. Enabling `use_ssl` secures both control credentials and data payload bytes using TLS encryption, while gateway settings or the `use_tor` flag route traffic through intermediate relays. Incoming data chunks stream directly to the specified `output_path`, or land inside `/tmp/owl_downloads/` under the source basename when no destination path is given. The response object confirms the final local path, exact byte count transferred, remote status code, and elapsed millisecond duration for the transfer.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string",
                    "description": "Complete URI pointing to the remote resource URI, such as `ftp://host/pub/archive.tar.gz`."
                  },
                  "output_path": {
                    "type": "string",
                    "description": "Local destination path; defaults to `/tmp/owl_downloads/` using the source basename."
                  },
                  "username": {
                    "type": "string",
                    "description": "Login identifier for the remote repository; defaults to anonymous access."
                  },
                  "password": {
                    "type": "string",
                    "description": "Secret key paired with the login identifier; defaults to empty for anonymous access."
                  },
                  "proxy_type": {
                    "type": "string",
                    "description": "Tunneling protocol selection: http, https, socks4, or DNS-protecting socks5/socks5h.",
                    "enum": [
                      "http",
                      "https",
                      "socks4",
                      "socks5",
                      "socks5h"
                    ]
                  },
                  "proxy_host": {
                    "type": "string",
                    "description": "Resolved network address or DNS name for the tunnel endpoint."
                  },
                  "proxy_port": {
                    "type": "string",
                    "description": "Port number on which the configured tunnel endpoint accepts connections."
                  },
                  "proxy_username": {
                    "type": "string",
                    "description": "User account identifier submitted to the configured tunnel endpoint."
                  },
                  "proxy_password": {
                    "type": "string",
                    "description": "Secret phrase used to authenticate against the protected relay endpoint."
                  },
                  "use_tor": {
                    "type": "boolean",
                    "description": "Routes the file retrieval through the local Tor SOCKS5H anonymizer when true."
                  },
                  "timeout": {
                    "type": "string",
                    "description": "Deadline in milliseconds before an incomplete download transfer times out."
                  },
                  "use_ssl": {
                    "type": "boolean",
                    "description": "Enables explicit FTPS encryption over SSL/TLS for both control and data streams."
                  }
                },
                "required": [
                  "url"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "ftpDownload",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/ftp_upload": {
      "post": {
        "summary": "Ftp Upload",
        "description": "Transmits a local file from disk to a target FTP or FTPS destination path over an authenticated passive data channel. Before opening network sockets, the handler verifies that the source `file_path` exists and is readable on the machine filesystem, returning an immediate error if missing. It then connects to the remote repository, logs in with the supplied credentials, optionally negotiates TLS encryption when `use_ssl` is true, and issues a `STOR` command for the target URI. Payload bytes stream directly from disk through any configured gateway or local Tor circuit without loading the entire file into RAM. Once the distant server acknowledges transfer completion and closes the data socket, the endpoint returns the uploaded byte size, destination URI, and elapsed transfer time in milliseconds.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string",
                    "description": "Destination URI including target filename, such as `ftp://host/incoming/report.csv`."
                  },
                  "file_path": {
                    "type": "string",
                    "description": "Absolute or relative path to the local source file on disk to transmit."
                  },
                  "username": {
                    "type": "string",
                    "description": "Account username for repository login; defaults to anonymous if not specified."
                  },
                  "password": {
                    "type": "string",
                    "description": "Account password for repository authentication; defaults to empty string if omitted."
                  },
                  "proxy_type": {
                    "type": "string",
                    "description": "Tunnel bridge protocol: choose socks4, socks5, socks5h, http, or https.",
                    "enum": [
                      "http",
                      "https",
                      "socks4",
                      "socks5",
                      "socks5h"
                    ]
                  },
                  "proxy_host": {
                    "type": "string",
                    "description": "Host address or machine IP of the intermediate forwarder."
                  },
                  "proxy_port": {
                    "type": "string",
                    "description": "Target listening port on the intermediate relay node."
                  },
                  "proxy_username": {
                    "type": "string",
                    "description": "User login token to sign into the intermediate forwarder."
                  },
                  "proxy_password": {
                    "type": "string",
                    "description": "Credential secret needed by the upstream authentication broker."
                  },
                  "use_tor": {
                    "type": "boolean",
                    "description": "Directs the upload stream through the integrated Tor SOCKS5H daemon."
                  },
                  "timeout": {
                    "type": "string",
                    "description": "Maximum allowed upload duration in milliseconds before aborting the transfer."
                  },
                  "use_ssl": {
                    "type": "boolean",
                    "description": "Secures the upload transfer using explicit SSL/TLS transport encryption."
                  }
                },
                "required": [
                  "url",
                  "file_path"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "ftpUpload",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/http_session_create": {
      "post": {
        "summary": "Http Session Create",
        "description": "Allocates a persistent, lightweight web client session with an isolated RFC-6265 state jar and reusable connection settings. Unlike full DOM rendering instances, this native C++ handle carries minimal memory overhead while automatically capturing `Set-Cookie` headers from server responses and replaying matching state tokens on subsequent calls. Callers define initial configuration properties—including persistent custom headers, client `User-Agent`, redirect handling limits, TLS verification rules, and gateway or Tor routing—that apply automatically across every transaction executed within the handle. Up to 64 concurrent handles may coexist in memory at once; attempting to exceed this ceiling returns a capacity error until existing ones are closed. The response returns a unique `session_id` token consumed by companion request and state management endpoints when orchestrating multi-step API workflows.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "headers": {
                    "type": "string",
                    "description": "Baseline request headers applied to every call unless overridden per transaction."
                  },
                  "user_agent": {
                    "type": "string",
                    "description": "Baseline client User-Agent string sent across all transactions in this container."
                  },
                  "follow_redirects": {
                    "type": "boolean",
                    "description": "Baseline rule governing automatic chasing of 3xx HTTP redirect responses."
                  },
                  "max_redirects": {
                    "type": "string",
                    "description": "Baseline ceiling on consecutive redirect hops permitted per transaction."
                  },
                  "ssl_verify": {
                    "type": "boolean",
                    "description": "Standard TLS peer certificate validation policy for encrypted HTTPS connections."
                  },
                  "ca_cert_path": {
                    "type": "string",
                    "description": "Configured filesystem path to a custom PEM Certificate Authority trust bundle."
                  },
                  "proxy_type": {
                    "type": "string",
                    "description": "Selected egress protocol format: socks5h, socks5, socks4, https, or plain http.",
                    "enum": [
                      "http",
                      "https",
                      "socks4",
                      "socks5",
                      "socks5h"
                    ]
                  },
                  "proxy_host": {
                    "type": "string",
                    "description": "Configured hostname or numerical IP of the upstream forwarding gateway."
                  },
                  "proxy_port": {
                    "type": "string",
                    "description": "Assigned egress port value for the upstream forwarding gateway."
                  },
                  "proxy_username": {
                    "type": "string",
                    "description": "Default login username for authenticating with the forwarding router."
                  },
                  "proxy_password": {
                    "type": "string",
                    "description": "Default login password for authenticating with the upstream router."
                  },
                  "use_tor": {
                    "type": "boolean",
                    "description": "Routes all container traffic through the built-in Tor SOCKS5H daemon when true."
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "httpSessionCreate",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/http_session_request": {
      "post": {
        "summary": "Http Session Request",
        "description": "Executes a web transaction inside an existing persistent client container, automatically synchronizing state tokens across invocations. Before dispatching the outbound socket payload, the engine merges container-level default headers, TLS settings, and gateway routes with any per-request overrides supplied in the parameters. Matching entries from the internal RFC-6265 state jar—plus any one-off tokens passed via `cookies`—are serialized into the outbound `Cookie` field, and incoming `Set-Cookie` directives update the in-memory store for subsequent steps. This stateful workflow enables fast, low-memory execution of multi-step API sequences such as CSRF handshakes, form logins, and authenticated pagination without spinning up a full rendering instance. The returned JSON structure provides status codes, response fields, timing metrics, and body content decoded as text, base64, or structured objects.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "session_id": {
                    "type": "string",
                    "description": "Active container handle returned by a prior session creation invocation."
                  },
                  "url": {
                    "type": "string",
                    "description": "Full target HTTP or HTTPS destination URI for this specific operation."
                  },
                  "method": {
                    "type": "string",
                    "description": "HTTP method token: pick among POST, GET, DELETE, PUT, or HEAD.",
                    "enum": [
                      "GET",
                      "POST",
                      "PUT",
                      "DELETE",
                      "PATCH",
                      "HEAD",
                      "OPTIONS"
                    ]
                  },
                  "headers": {
                    "type": "string",
                    "description": "Per-call HTTP headers merged atop the initial defaults of the session."
                  },
                  "body": {
                    "type": "string",
                    "description": "Outbound request payload string such as JSON data or form parameters."
                  },
                  "cookies": {
                    "type": "string",
                    "description": "Extra state tokens merged into this operation, as a string or JSON array."
                  },
                  "auth_type": {
                    "type": "string",
                    "description": "Per-call authentication scheme: select digest, bearer, basic, or none.",
                    "enum": [
                      "none",
                      "basic",
                      "bearer",
                      "digest"
                    ]
                  },
                  "auth_username": {
                    "type": "string",
                    "description": "Username credential supplied for Basic or Digest access verification."
                  },
                  "auth_password": {
                    "type": "string",
                    "description": "Password secret supplied when answering Basic or Digest challenges."
                  },
                  "auth_token": {
                    "type": "string",
                    "description": "Bearer security credential injected into the Authorization field for this operation."
                  },
                  "follow_redirects": {
                    "type": "boolean",
                    "description": "Overrides the session setting for chasing 3xx redirect responses."
                  },
                  "timeout": {
                    "type": "string",
                    "description": "Maximum total elapsed time in milliseconds before aborting this operation."
                  },
                  "connect_timeout": {
                    "type": "string",
                    "description": "Maximum socket connection establishment time in milliseconds for this call."
                  },
                  "ssl_verify": {
                    "type": "boolean",
                    "description": "Overrides the session TLS certificate verification setting for this call."
                  },
                  "user_agent": {
                    "type": "string",
                    "description": "Overrides the default User-Agent string for this single invocation."
                  },
                  "output": {
                    "type": "string",
                    "description": "Response body decoding format: choose text for UTF-8, base64, or json.",
                    "enum": [
                      "text",
                      "base64",
                      "json"
                    ]
                  }
                },
                "required": [
                  "session_id",
                  "url"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "httpSessionRequest",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/http_session_get_cookies": {
      "post": {
        "summary": "Http Session Get Cookies",
        "description": "Exports all state tokens currently stored inside a persistent HTTP client container, optionally filtered by target destination URI. When invoked without a filter URI, the handler serializes the entire in-memory RFC-6265 jar accumulated from prior server `Set-Cookie` responses and manual imports. Supplying an optional `url` parameter instructs the matcher to evaluate domain tail-matching, path prefix rules, and `Secure` scheme constraints, returning only those entries that would legitimately attach to an outbound call to that address. Every record in the resulting JSON list includes `domain`, `name`, `value`, `path`, `expiry` timestamp, `secure`, and `httpOnly` attributes. Engineers use this export mechanism to inspect authentication tokens acquired during API login flows or transfer them into a full DOM rendering instance for hybrid browser automation.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "session_id": {
                    "type": "string",
                    "description": "Unique handle of the persistent HTTP container whose state jar will be exported."
                  },
                  "url": {
                    "type": "string",
                    "description": "Optional destination URI used to filter entries by domain, path, and scheme rules."
                  }
                },
                "required": [
                  "session_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "httpSessionGetCookies",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/http_session_set_cookies": {
      "post": {
        "summary": "Http Session Set Cookies",
        "description": "Injects external state records directly into the RFC-6265 jar of a live HTTP client container using JSON or Netscape format. This operation bridges full DOM rendering workflows with lightweight API clients. Callers can extract authenticated state after solving a complex login challenge in a rendering instance and load those records straight into an HTTP container. The parser accepts either a serialized JSON array of objects specifying `domain`, `name`, `value`, and `path` keys, or traditional tab-delimited Netscape jar lines. Valid entries overwrite matching existing keys sharing the same domain and path tuple while preserving unrelated tokens already residing in memory. The returned summary indicates the count of successfully imported records or returns a validation error if the input string is malformed or the container handle is unknown.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "session_id": {
                    "type": "string",
                    "description": "Target HTTP container identifier into which the supplied state tokens will be loaded."
                  },
                  "cookies": {
                    "type": "string",
                    "description": "Serialized JSON array of token objects or newline-delimited Netscape format entries."
                  }
                },
                "required": [
                  "session_id",
                  "cookies"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "httpSessionSetCookies",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/http_session_close": {
      "post": {
        "summary": "Http Session Close",
        "description": "Destroys a live HTTP client session, purging its in-memory state jar, cached TLS tickets, and pooled socket descriptors. Because the engine enforces a hard concurrency ceiling of 64 simultaneous HTTP containers, long-running automation services should explicitly release handles once a multi-step API workflow finishes executing. Upon invocation, the lifecycle manager invalidates the specified `session_id`, zeroes out sensitive credential headers and stored tokens in RAM, and decrements the active instance counter immediately. Any subsequent attempt to dispatch requests, inspect cookies, or modify state using the retired identifier immediately fails with an explicit not-found error code. The returned JSON response confirms clean resource deallocation and reports the updated count of remaining active containers currently residing in the local server pool across the host environment.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "session_id": {
                    "type": "string",
                    "description": "Identifier of the active HTTP client container to destroy and release from memory."
                  }
                },
                "required": [
                  "session_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "httpSessionClose",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/http_session_list": {
      "post": {
        "summary": "Http Session List",
        "description": "Lists all currently allocated HTTP client containers along with their lifecycle timestamps, transaction counters, and routing summaries. When queried, the container registry snapshots the metadata of every active handle up to the 64-instance ceiling without locking ongoing socket transfers or blocking parallel worker threads. Every object in the output JSON collection details the `session_id`, creation time, timestamp of the most recent transaction, cumulative requests executed, current count of stored state tokens, and active gateway or Tor configuration. Orchestration services and debugging dashboards invoke this endpoint to monitor pool utilization, identify idle or leaked containers that have stopped transacting, and reclaim slots before hitting the concurrency limit. If no containers are currently open in memory, an empty JSON list is returned.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "httpSessionList",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_webmcp_get_tools": {
      "post": {
        "summary": "Browser Webmcp Get Tools",
        "description": "Retrieves all page-declared WebMCP capability definitions registered by the active document via imperative JavaScript or declarative HTML markup. Modern agent-ready web applications can expose structured actions directly to AI callers either by invoking `navigator.modelContext.registerTool()` in script or by annotating standard `<form toolname=\"...\">` structures in the DOM. When called after navigation completes, the bridge queries the renderer's internal WebMCP registry for the specified browsing instance and serializes every discovered capability into a structured manifest. Every entry in the output array specifies the action `name`, human-readable `description`, and a JSON Schema `inputSchema` defining required and optional arguments. Agents inspect this manifest first to invoke native site functions directly instead of synthesizing brittle coordinate clicks, manual form fills, or raw synthetic keyboard events on dynamic views.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Browsing instance handle whose active document WebMCP registry will be queried."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserWebmcpGetTools",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_webmcp_call_tool": {
      "post": {
        "summary": "Browser Webmcp Call Tool",
        "description": "Invokes a document-declared WebMCP action inside the live JavaScript execution world or declarative form handler of the active view. After validating the supplied `input` JSON object against the target capability's declared schema, the renderer dispatches execution according to how the document exposed the function. For imperative capabilities defined via `navigator.modelContext.registerTool()`, the bridge calls the bound JavaScript callback directly and awaits its returned Promise with a strict 30-second deadline. For declarative `<form toolname>` capabilities, the engine populates matching form controls with the provided key-value pairs, triggers submission events, and captures the resulting response state. The structured JSON return value produced by the callback—or a detailed execution timeout or exception stack trace—is serialized back to the caller upon final completion of the action.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Identifier of the browsing session where the target WebMCP capability is exposed."
                  },
                  "tool_name": {
                    "type": "string",
                    "description": "Exact registered identifier of the page-level WebMCP function or declarative form to invoke."
                  },
                  "input": {
                    "type": "string",
                    "description": "Serialized JSON object containing argument key-value pairs conforming to the declared inputSchema."
                  }
                },
                "required": [
                  "context_id",
                  "tool_name"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserWebmcpCallTool",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_webmcp_refresh_tools": {
      "post": {
        "summary": "Browser Webmcp Refresh Tools",
        "description": "Forces a synchronous re-scan of the live DOM tree to discover newly mounted declarative `<form toolname>` WebMCP capabilities. Single-page applications frequently mutate views client-side via History API transitions, modal mountings, or asynchronous component hydration without triggering a full document load lifecycle event. When such dynamic updates inject new annotated forms or remove unmounted ones, calling this endpoint instructs the renderer's WebMCP observer to walk the current document tree and reconcile its internal capability table. Imperative handlers already registered through `navigator.modelContext.registerTool()` remain preserved alongside the newly indexed declarative forms without any duplication. The response returns the refreshed JSON array of available capability definitions, including each item's name, description, and input schema for immediate agent consumption and tool execution during autonomous browsing sessions.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "context_id": {
                    "type": "string",
                    "description": "Browsing session identifier whose live DOM will be re-scanned for declarative WebMCP forms."
                  }
                },
                "required": [
                  "context_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserWebmcpRefreshTools",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_webmcp_get_all_tools": {
      "post": {
        "summary": "Browser Webmcp Get All Tools",
        "description": "Aggregates all registered WebMCP capability definitions across every active browsing instance into a single instance-keyed dictionary. Rather than polling individual sessions one by one, multi-tab orchestrators invoke this global discovery endpoint to inspect the entire fleet of open pages simultaneously in a single round-trip. The coordinator iterates through all live rendering instances, queries each document's imperative `navigator.modelContext` store and declarative `<form toolname>` catalog, and merges the discovered schemas. The returned JSON object maps each `context_id` string to its corresponding array of capability descriptors—each detailing `name`, `description`, and `inputSchema`—making it trivial for an AI router to determine which open session exposes a needed domain action. Active instances that expose no declared capabilities still appear in the map with an empty array.",
        "tags": [
          "General"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "operationId": "browserWebmcpGetAllTools",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/execute/browser_batch": {
      "post": {
        "summary": "browser_batch",
        "operationId": "browserBatch",
        "description": "Execute multiple browser automation actions in a single batch request.",
        "tags": [
          "Batch & Automation"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BatchRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Batch execution complete.",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "202": {
            "description": "Operation accepted for asynchronous processing.",
            "headers": {
              "Location": {
                "description": "URL to poll for job status.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AsyncJob"
                }
              }
            }
          },
          "400": {
            "description": "Bad request. Invalid parameters or request body. See error.code for details.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized. A valid Bearer token is required. Set Authorization: Bearer <OWL_API_KEY>.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/batch": {
      "post": {
        "summary": "browser_batch",
        "operationId": "browserBatch",
        "description": "Execute multiple browser automation actions in a single batch request.",
        "tags": [
          "Batch & Automation"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BatchRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Batch execution complete.",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "202": {
            "description": "Operation accepted for asynchronous processing.",
            "headers": {
              "Location": {
                "description": "URL to poll for job status.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AsyncJob"
                }
              }
            }
          },
          "400": {
            "description": "Bad request. Invalid parameters or request body. See error.code for details.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized. A valid Bearer token is required. Set Authorization: Bearer <OWL_API_KEY>.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/batch": {
      "post": {
        "summary": "browser_batch",
        "operationId": "browserBatch",
        "description": "Execute multiple browser automation actions in a single batch request.",
        "tags": [
          "Batch & Automation"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key (UUIDv4 recommended) to guarantee idempotent execution on retries.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BatchRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Batch execution complete.",
            "headers": {
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "202": {
            "description": "Operation accepted for asynchronous processing.",
            "headers": {
              "Location": {
                "description": "URL to poll for job status.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Maximum number of requests allowed in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Number of requests remaining in the current time window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the current rate-limit window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying. Present only on 429 responses.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AsyncJob"
                }
              }
            }
          },
          "400": {
            "description": "Bad request. Invalid parameters or request body. See error.code for details.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized. A valid Bearer token is required. Set Authorization: Bearer <OWL_API_KEY>.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token does not have permission for this operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found. The requested resource or context does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Retry after the number of seconds indicated by Retry-After.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "required": true
              },
              "RateLimit-Limit": {
                "description": "Maximum requests allowed per window.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Unix timestamp when the window resets.",
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred inside Owl Browser.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    }
  }
}
