Context

browser_close_all_contexts

Close ALL browser contexts at once and reclaim the entire context pool.

Emergency recovery for when the context limit is reached but contexts are orphaned or unresponsive. Returns the number of contexts closed.

POST /execute/browser_close_all_contextsno context needed0 parameters, 0 required

Before you run it

Closes every context on the server, including other clients' contexts.

Usage notes

  • Use with care: this terminates every active session.

Parameters

No parameters. Send an empty JSON object ({}) as the body.

Request

POST /execute/browser_close_all_contexts (/api/execute/browser_close_all_contexts via the container). No browser context is needed. Setup: quick start. SDK guides: Node.js, Python.

curl -s -X POST "$OWL_URL/execute/browser_close_all_contexts" -H "$AUTH" -H "$JSON" \
  -d '{}'; echo

Response

The OpenAPI document does not describe this tool's result, and we did not publish a captured one because the call needs the setup described above. Envelope and errors: responses and errors.